Closed GoogleCodeExporter closed 9 years ago
Right, good catch. On Linux we use a static runtime with an initializer in
.preinit_array. On Android, we use a shared runtime, but one of our
interceptors gets called early during libc initialization. Neither happens on
OSX.
We should add a constructor calling AsanInitFromRtl when building a shared
runtime.
Original comment by euge...@google.com
on 13 Nov 2014 at 9:44
> On Android, we use a shared runtime,
> but one of our interceptors gets called early during libc initialization.
Same for Linux with Asan DSO.
Original comment by tetra20...@gmail.com
on 13 Nov 2014 at 12:27
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 13 Nov 2014 at 5:12Attachments: