aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-04-19 13:29:44 -0400
committerNico Weber <thakis@chromium.org>2022-04-19 13:54:57 -0400
commitf6b2ddbf381dda5f201f48a5211fb0d053640225 (patch)
tree978e744f371175ed5e9dec20724d439488d285e4 /clang/lib/Frontend/CompilerInvocation.cpp
parent83892d76f460402b45729e10b2219563b01d71b4 (diff)
downloadllvm-f6b2ddbf381dda5f201f48a5211fb0d053640225.zip
llvm-f6b2ddbf381dda5f201f48a5211fb0d053640225.tar.gz
llvm-f6b2ddbf381dda5f201f48a5211fb0d053640225.tar.bz2
[compiler-rt] Use ld64 flag -lto_library instead of DYLD_LIBRARY_PATH
Makes bin/llvm-lit \ projects/compiler-rt/test/profile/Profile-arm64/instrprof-darwin-dead-strip.c pass on my machine. Without this change, ld64 complains that the bitcode was generated by LLVM 15 while the reader is 13.1 -- the version of Xcode on my machine. Looks like the DYLD_LIBRARY_PATH technique isn't working. -lto_library was added back in ld64-136, which was in Xcode 4.6, which was released over 10 years ago. So relying on it should be safe by now. Differential Revision: https://reviews.llvm.org/D124018
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions