aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-11-22 14:51:09 -0500
committerLouis Dionne <ldionne.2@gmail.com>2021-11-25 15:28:17 -0500
commitebfeeec4c4bcc4373e5d5dfaff7ee75959a7c931 (patch)
tree0f5f0399618ae2aeb14ce1fdea5dd38b6e8f5056 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentbc41653a1f289a63a1472b7364437515c9659f77 (diff)
downloadllvm-ebfeeec4c4bcc4373e5d5dfaff7ee75959a7c931.zip
llvm-ebfeeec4c4bcc4373e5d5dfaff7ee75959a7c931.tar.gz
llvm-ebfeeec4c4bcc4373e5d5dfaff7ee75959a7c931.tar.bz2
[libunwind] Fix testing with sanitizers enabled
When testing with sanitizers enabled, we need to link against a plethora of system libraries. Using `-nodefaultlibs` like we used to breaks this, and we would have to add all these system libraries manually, which is not portable and error prone. Instead, stop using `-nodefaultlibs` so that we get the libraries added by default by the compiler. The only caveat with this approach is that we are now relying on the fact that `-L <path-to-local-libunwind>` will cause the just built libunwind to be selected before the system implementation (either of libunwind or libgcc_s.so), which is somewhat fragile. This patch also turns the 32 bit multilib build into a soft failure since we are in the process of removing it anyway, see D114473 for details. This patch is incompatible with the 32 bit multilib build because Ubuntu does not provide a proper libstdc++ for 32 bits, and that is required when running with sanitizers enabled. Differential Revision: https://reviews.llvm.org/D114385
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions