aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorDan Liew <dliew@apple.com>2021-04-20 11:54:04 -0700
committerDan Liew <dliew@apple.com>2021-04-20 11:57:20 -0700
commit6f4f0afaa8ae54e44e94b9358bb5336a35cb8614 (patch)
treea64855e64a5c4acd3cb3bcc135bc54cd0e80d6a3 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent3b6acb179708ea2f3caf95ace0f134fcbc460333 (diff)
downloadllvm-6f4f0afaa8ae54e44e94b9358bb5336a35cb8614.zip
llvm-6f4f0afaa8ae54e44e94b9358bb5336a35cb8614.tar.gz
llvm-6f4f0afaa8ae54e44e94b9358bb5336a35cb8614.tar.bz2
[Compiler-rt] Fix bug when considering CMake path returned by llvm-config.
The previous check was wrong because it only checks that the LLVM CMake directory exists. However, it's possible that the directory exists but the `LLVMConfig.cmake` file does not. When this happens we would incorectly try to include the non-existant file. To fix this we make the check stricter by checking that the file we want to include actually exists. This is a follow up to fd28517d878e1d3d14f492ab659aabdf729fd331. rdar://76870467
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions