summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaAttr.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-01-16 12:31:50 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-01-16 12:31:50 +0000
commitc61623b1708fa7aff26cdaf25a6007f7d656ba7d (patch)
tree90dd47de961b104b0bd6d73c96dcdf9ec350a74f /clang/lib/Sema/SemaAttr.cpp
parent3657cb03500b3ba07aa2614a4e429585fb480b84 (diff)
downloadbcm5719-llvm-c61623b1708fa7aff26cdaf25a6007f7d656ba7d.tar.gz
bcm5719-llvm-c61623b1708fa7aff26cdaf25a6007f7d656ba7d.zip
[asan] Implement delayed activation of AddressSanitizer
This change adds ASAN_OPTIONS=start_deactivated=1 flag. When present, ASan will start in "deactivated" mode, with no heap poisoning, no quarantine, no stack trace gathering, and minimal redzones. All this features come back when __asan_init is called for the constructor of an instrumented library. The primary use case for this feature is Android. Code itself is not Android-specific, and this patch includes a Linux test for it. llvm-svn: 199377
Diffstat (limited to 'clang/lib/Sema/SemaAttr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud