forked from OSchip/llvm-project
[asan] define ASAN_DYNAMIC=1 if PIC is defined
llvm-svn: 208530
This commit is contained in:
parent
d5de13e4d6
commit
9c81b31568
|
@ -50,7 +50,11 @@
|
|||
#endif
|
||||
|
||||
#ifndef ASAN_DYNAMIC
|
||||
# define ASAN_DYNAMIC 0
|
||||
# ifdef PIC
|
||||
# define ASAN_DYNAMIC 1
|
||||
# else
|
||||
# define ASAN_DYNAMIC 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// All internal functions in asan reside inside the __asan namespace
|
||||
|
|
Loading…
Reference in New Issue