Evgeniy Stepanov
ba7308c07e
[asan] Revert r221882.
...
This code is not part of ASan runtime (as it may be linked into a different
DSO), and thus can not call non-exported functions.
llvm-svn: 221986
2014-11-14 13:02:28 +00:00
Evgeniy Stepanov
3217c6a52c
[asan] Switch to AsanInitFromRtl in .preinit_array.
...
There is no functionality change due to a check in AsanActivate.
llvm-svn: 221882
2014-11-13 09:50:56 +00:00
Timur Iskhodzhanov
f8b1cd210d
[ASan/Win] We don't really need to use .CRT to call __asan_init when using -MD
...
llvm-svn: 215719
2014-08-15 14:44:17 +00:00
Alexey Samsonov
2178054216
[Sanitizer] Introduce SANITIZER_CAN_USE_PREINIT_ARRAY definition and use it across sanitizers.
...
Get rid of ASAN_USE_PREINIT_ARRAY and LSAN_USE_PREINIT_ARRAY - just always
use .preinit_array if it's available. This mode seems stable enough, and
we've been relying on default values of these macro for a long time.
llvm-svn: 213980
2014-07-25 22:05:02 +00:00
Alexander Potapenko
fd7d9f45dd
[ASan] Rename __asan_preinit to __local_asan_preinit to avoid warnings from the linker which is trying to export all the __asan_* symbols
...
llvm-svn: 182567
2013-05-23 09:15:20 +00:00
Evgeniy Stepanov
0af672326a
[sanitizer] Replace more platform checks with SANITIZER_ constants.
...
llvm-svn: 177400
2013-03-19 14:33:38 +00:00
Kostya Serebryany
1d63d13ce2
[asan] move the .preinit_array hack into a separate file (added used attribute)
...
llvm-svn: 175871
2013-02-22 07:51:26 +00:00