You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without this flag, Clang may replace some loops in the RTL with calls to libc functions
like memcpy() and memset(). This may lead to crashes, because it's usually hard to
tell if a function is called during __asan_init (and those functions are being intercepted).
In particular, clang may put a call to foo() into internal_foo(), which we definitely
do not want.
I've tried to add -ffreestanding to projects/compiler-rt/make/config.mk, but then linking
programs with ASan RTL started to fail, because in some RTL modules the methods of
AsanStackTrace were mangled incorrectly.
I didn't dig much into this, but I suppose the problem was related to http://llvm.org/bugs/show_bug.cgi?id=12396
Reported by ramosian.glider on 2012-03-29 12:23:58
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 59
Reported by
ramosian.glider
on 2012-03-29 12:23:58The text was updated successfully, but these errors were encountered: