rust/src/tools/llvm-bitcode-linker
kulst 831d9f39e9 Pass through of target features to llvm-bitcode-linker and handling them
The .ptx version produced by llc can be specified by passing it with --mattr. Currently it is not possible to specify the .ptx version with -Ctarget-feature because these are not passed through to llvm-bitcode-linker and handled by it. This commit adds both.
--target-feature and -mattr are passed with equals to mitigate issues when the value starts with a - (minus).
2025-02-16 21:57:03 +01:00
..
src Pass through of target features to llvm-bitcode-linker and handling them 2025-02-16 21:57:03 +01:00
Cargo.toml LLVM Bitcode Linker: Added crate 2024-03-11 13:35:35 +01:00
README.md LLVM Bitcode Linker: Added crate 2024-03-11 13:35:35 +01:00

LLVM Bitcode Linker

The LLVM bitcode linker can be used to link targets without any dependency on system libraries. The code will be linked in llvm-bc before compiling to native code. For some of these targets (e.g. ptx) there does not exist a sensible way to link the native format at all. A bitcode linker is required to link code compiled for such targets.