-
Notifications
You must be signed in to change notification settings - Fork 998
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
Enable LSAN support for 32bit architecture #403
Comments
Reported by |
Reported by |
|
Lack of 32 bit support is a real shame, as it makes troubleshooting and debugging on the raspberry pi extremely difficult. This is particularly true of code that touches RPI hardware that is difficult to run on other 64 bit machines. Given that for many people an RPi is their learning computer, it would be very useful for LeakSanitizer to be part of that learning experience. |
|
That's a fair point. |
|
Yay! |
People keep asking LSan to be available on 32 bit targets (e.g. google/sanitizers#403) despite the fact that false negative ratio might be huge (up to 85%). This happens for big real world applications that may contain random binary data (e.g. browser), but for smaller apps situation is not so terrible and LSan still might be useful. This patch adds initial support for x86 Linux (disabled by default), ARM32 is in TODO list. We used this patch (well, ported to GCC) on our 32 bit mobile emulators and it worked pretty fine thus I'm posting it here to initiate further discussion. Differential Revision: https://reviews.llvm.org/D28609 llvm-svn=292775
Quick ping - any progress on ARM32 for the Raspberry Pi? Back struggling with yet more Pi bugs, and the lack of memory checking is a real blocker for any useful work. Happy to rebuild my gcc toolchain if arm32 support is included? |
|
Sorry, missed this one. |
|
Sounds like this is fixed. |
Originally reported on Google Code with ID 403
Reported by
taylorr4on 2015-08-11 04:45:05- _Attachment: [32bit.patch](https://storage.googleapis.com/google-code-attachments/address-sanitizer/issue-403/comment-0/32bit.patch)_
The text was updated successfully, but these errors were encountered: