-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
AddressSanitizer reports leak for empty main function on macOS for aarch64-apple-darwin #121624
Comments
Strangely, running just the leak sanitizer complains that this is an unsupported target. Running
results in
so it may be the case that leak sanitizer is simply not supported? |
Seems like a known issue #88132
|
Thanks for the pointer! I think this issue in itself is different, since that one is a hang and this one is a false positive (or an real error in the rust runtime somewhere). |
Relevant LLVM thread: https://discourse.llvm.org/t/does-leaksanitizer-not-work-on-macos-13-apple-silicon/73148 Unfortunately it seems that this will not be fixed in the short time... |
@rustbot label O-macos |
I have opened llvm/llvm-project#115992 to inform the LLVM developers of this issue (not entirely sure where the bug tracking for sanitizers happen). |
Code:
Command:
I expected to see this happen: nothing.
Instead, this happened: leak reported, full report below.
Meta
rustc --version --verbose
:Message
The text was updated successfully, but these errors were encountered: