aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-09-26 21:22:08 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-09-26 21:22:08 +0000
commit58ae9ae23a67821154eac11421c55d5b1139e0ac (patch)
treef5d8fbfb8f745d792be4f87e65d9b349028ead41 /llvm/lib/Support/MathExtras.cpp
parentf572f3b2c0fe0fc492d3834d9043b3a42fe22e1d (diff)
downloadllvm-58ae9ae23a67821154eac11421c55d5b1139e0ac.zip
llvm-58ae9ae23a67821154eac11421c55d5b1139e0ac.tar.gz
llvm-58ae9ae23a67821154eac11421c55d5b1139e0ac.tar.bz2
Don't link in sanitizer runtimes if -nostdlib/-nodefaultlibs is provided.
It makes no sense to link in sanitizer runtimes in this case: the user probably doesn't want to see any system/toolchain libs in his link if he provides these flags, and the link will most likely fail anyway - as sanitizer runtimes depend on libpthread, libdl, libc etc. Also, see discussion in https://code.google.com/p/address-sanitizer/issues/detail?id=344 llvm-svn: 218541
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions