-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get leak details #45
Comments
Which version of Xcode are you using? |
I am not using Xcode, just plain terminal command line. |
Hello, `#include <stdlib.h> void f(void) int main(void) I do not get the expected memory leaks, but the following output: I used this command for run it: "valgrind --leak-check=yes myprogram". Thank you in advanced, |
@ctrlpz Big Sur is not supported at the moment (#19) @hellotommmy You are still using Xcode to build your binary (unless you have explicitly replaced it with an actual |
Sorry about that--I didn't know. Running xcodebuild -version gives me and sw_vers gives me Thanks you :) |
@hellotommmy That's no worries at all, I just wanted to make sure if you weren't using another compiler somehow :) This is a bit odd, it might just be how we check the Xcode/kernel version but it looks like Xcode 12 should be fine (?) |
Is there a way I could change to a different compiler and hopefully see different results? |
If you could get a earlier version of Xcode I think it might work |
On my mac with os version 10.15.7 (19H1323),
I could not get details of a leak, only leak summary is available.
A minimum example would be
If I compile this with
g++ -std=c++11 -o simple -g simple.cpp
And run
valgrind ./simple
I got
And adding the
--leak-check=full
flag does not help.--track-origins=yes
does not help either.Am I missing something?
Thanks a lot for your work!
The text was updated successfully, but these errors were encountered: