aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2021-02-04 08:40:26 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2021-02-04 08:52:56 -0800
commit727bd89b605b39659c793f338ce1e18dafc3581e (patch)
treee6c2cbbfdd875e0fba9c157cb6e5dac460e042f0 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentba000628bdbddfe1ec37da9aa7aa2d19f03cb3a4 (diff)
downloadllvm-727bd89b605b39659c793f338ce1e18dafc3581e.zip
llvm-727bd89b605b39659c793f338ce1e18dafc3581e.tar.gz
llvm-727bd89b605b39659c793f338ce1e18dafc3581e.tar.bz2
[lldb] Simplify the logic to detect compiler flag support
This patch effectively does the following 3 things: - Centralize the logic to figure out if a compiler flag is supported. - Stop sanity checking whether the compiler works at all. While useful, that's not the decorator's responsibility. - Invoke the compiler with xcrun on Darwin so we know where to find the sysroot. On my macOS Big Sur system, the clang invocation couldn't find libSystem and would fail the sanity check in the decorator. This meant that the test suite would always try to run the ASan/UBSan/TSan tests, regardless of whether compiler-rt was built. Differential revision: https://reviews.llvm.org/D95995
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions