aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-05-08 21:11:55 +0000
committerVedant Kumar <vsk@apple.com>2017-05-08 21:11:55 +0000
commita9d8be68c1c3b6081ceef7eceb889fa429e626b2 (patch)
treede2e72f1813786e7d9f1ae40fe0c601d59b576c4 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parentd0c4676f3971572eda0f6659178e70d4da7530fa (diff)
downloadllvm-a9d8be68c1c3b6081ceef7eceb889fa429e626b2.zip
llvm-a9d8be68c1c3b6081ceef7eceb889fa429e626b2.tar.gz
llvm-a9d8be68c1c3b6081ceef7eceb889fa429e626b2.tar.bz2
[Driver] Don't enable -fsanitize-use-after-scope when ASan is disabled
When enabling any sanitizer, -fsanitize-use-after-scope is enabled by default. This doesn't actually turn ASan on, because we've been getting lucky and there are extra checks in BackendUtil that stop this from happening. However, this has been causing a behavior change: extra lifetime markers are emitted in some cases where they aren't needed or expected. llvm-svn: 302468
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions