aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2020-10-14 10:13:32 -0700
committerManoj Gupta <manojgupta@google.com>2020-10-14 10:29:35 -0700
commit18432bea764863d1c42fd569bd3846673ee4e802 (patch)
treec10f0e4c06ee2a92378e56dc413c0742e773f420 /clang/lib/CodeGen/CodeGenModule.cpp
parent2949baec3cc84cc6640f70d1f8aa3153c953b26a (diff)
downloadllvm-18432bea764863d1c42fd569bd3846673ee4e802.zip
llvm-18432bea764863d1c42fd569bd3846673ee4e802.tar.gz
llvm-18432bea764863d1c42fd569bd3846673ee4e802.tar.bz2
[Driver]: fix compiler-rt path when printing libgcc for baremetal
clang --target arm-none-eabi --print-libgcc-file-name --rtlib=compiler-rt used to print `/path/to/lib/clang/version/lib/libclang_rt.builtins-arm.a` but should print `/path/to/lib/clang/version/lib/baremetal/libclang_rt.builtins-arm.a`. Similarly, --target armv7m-none-eabi should print libclang_rt.builtins-armv7m.a This matches the compiler-rt file name used at link time in the baremetal driver. Reviewed By: manojgupta Differential Revision: https://reviews.llvm.org/D89327
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions