diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-26 21:22:08 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-26 21:22:08 +0000 |
commit | 58ae9ae23a67821154eac11421c55d5b1139e0ac (patch) | |
tree | f5d8fbfb8f745d792be4f87e65d9b349028ead41 /llvm/lib/Support/MathExtras.cpp | |
parent | f572f3b2c0fe0fc492d3834d9043b3a42fe22e1d (diff) | |
download | llvm-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