Also emit lifetime markers for -fsanitize-address-use-after-scope.
Asan uses life-time markers for use-after-scope check.
PR27453
Paths
| Differential D20759
[asan] Added -fsanitize-address-use-after-scope flag ClosedPublic Authored by vitalybuka on May 27 2016, 4:14 PM.
Details Summary Also emit lifetime markers for -fsanitize-address-use-after-scope. PR27453
Diff Detail Event Timelinevitalybuka updated this object. vitalybuka retitled this revision from Emit lifetime markers for asan builds to [asan] Emit lifetime markers for asan builds.May 27 2016, 4:40 PM vitalybuka retitled this revision from [asan] Emit lifetime markers for asan builds to [asan] Added -fsanitize-address-use-after-scope flag. vitalybuka updated this object. eugenis edited edge metadata. Comment ActionsLGTM w/ nit
This revision is now accepted and ready to land.May 31 2016, 11:37 AM Closed by commit rL271451: [asan] Added -fsanitize-address-use-after-scope flag (authored by vitalybuka). · Explain WhyJun 1 2016, 5:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 58865 include/clang/Driver/Options.td
include/clang/Driver/SanitizerArgs.h
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGDecl.cpp
lib/Driver/SanitizerArgs.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/lifetime-asan.c
test/Driver/fsanitize.c
|
Please add a negative test (asan w/o use-after-scope does not add the cc1 flag).