summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-12-19 19:16:07 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-12-19 19:16:07 +0000
commit1b6485457438ff6b1134ec53350a72288dafe57c (patch)
tree3d598e81bb46964c612ad5a2647f838a915db54d /llvm/test/Bitcode
parent583e9d29ad1af1777b8eafeef48576ac1da2a7be (diff)
downloadbcm5719-llvm-1b6485457438ff6b1134ec53350a72288dafe57c.tar.gz
bcm5719-llvm-1b6485457438ff6b1134ec53350a72288dafe57c.zip
[ASan] Restrict the set of flags overriden at activation.
Summary: Change the way ASan flag parsing is performed at activation: instead of overwriting all ASan and common flags from the activation string, ASan will now only override a handful of whitelisted flags. This is a first step towards making runtime flags immutable after initialization. I plan to re-factor the activation stragegy to the following one: - Parse commandline flags. Override the defaults from compile definition, env var, etc. Flags are immutable at this point. - Initiailize the runtime from commandline flags. - If ASan needs to be started deactivated, stash the runtime state in "asan_deactivated_flags" and deactivate the runtime. - When ASan is activated, override "asan_deactivated_flags" with activation flags, and use it to re-activate the runtime. Test Plan: regression test suite Reviewers: eugenis, kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6709 llvm-svn: 224601
Diffstat (limited to 'llvm/test/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud