]> granicus.if.org Git - clang/commit
When building ubsan, link in ubsan parts first and sanitizer-common second, to
authorNick Lewycky <nicholas@mxc.ca>
Sat, 19 Oct 2013 00:27:23 +0000 (00:27 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 19 Oct 2013 00:27:23 +0000 (00:27 +0000)
commit63d29e2452d557b7c882136bce01fb9349716bae
tree7d6fc9b4cc8d9cf9363bed442b105b9028f17914
parentb5c7768a74936d4e2c7a484570a638cb74702d8b
When building ubsan, link in ubsan parts first and sanitizer-common second, to
pick up the common bits ubsan actually needs. Also remove whole-archive when we
aren't trying to re-export the symbols.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193022 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/sanitizer-ld.c