about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-15 11:18:44 +0000
committerbors <bors@rust-lang.org>2021-11-15 11:18:44 +0000
commiteab2d7519a3f1c11ddaff3d19f8b7727354c6362 (patch)
tree00fae71c3006528687a52a66f22721bcce0fa4d1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentd5a0c7cb036032288a4a5443b54ba061ec12ee26 (diff)
parentf44fa6348f48403a79b506823286444b453267cb (diff)
downloadrust-eab2d7519a3f1c11ddaff3d19f8b7727354c6362.tar.gz
rust-eab2d7519a3f1c11ddaff3d19f8b7727354c6362.zip
Auto merge of #90717 - kit-981:fix-ld64-flags, r=petrochenkov
Fix ld64 flags

- The `-exported_symbols_list` argument appears to be malformed for `ld64` (if you are not going through `clang`).
- The `-dynamiclib` argument isn't support for `ld64`. It should be guarded behind a compiler flag.

These problems are fixed by these changes. I have also refactored the way linker arguments are generated to be ld/compiler agnostic and therefore less error prone.

These changes are necessary to support cross-compilation to darwin targets.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions