Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Original comment by kuba.brecka@gmail.com
on 9 Dec 2014 at 9:30
We had same problem in GCC which uses dynamic runtime as well (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58937). I think it eventually got
"fixed" by ensuring that libasan intercepts one of the functions called in
glibc's (or libstdc++? don't remember) initializer and lazily calling asan_init
there. Perhaps same approach could be used for OSX? BTW am I the only one to
think that inability to control initializer order is a major disadvantage of
Linux shlibs?
Original comment by tetra2...@gmail.com
on 9 Dec 2014 at 10:46
Proposed a fix in http://reviews.llvm.org/D7117.
Original comment by kuba.brecka@gmail.com
on 22 Jan 2015 at 4:17
Committed in r226929.
Original comment by kuba.brecka@gmail.com
on 23 Jan 2015 at 9:53
Adding Project:AddressSanitizer as part of GitHub migration.
Original comment by ramosian.glider@gmail.com
on 30 Jul 2015 at 9:14
Original issue reported on code.google.com by
kuba.brecka@gmail.com
on 9 Dec 2014 at 9:26Attachments: