mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
relax_elf_relocations is x86-only
The flag ends up here
8d1a764304/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp (L393)
The LLVM name for this, `X86RelaxRelocations`, makes me believe that this is x86-only. So let's at least document that on our side as well.
Cc @bjorn3 @nikic
The codegen crate contains the code to convert from MIR into LLVM IR,
and then from LLVM IR into machine code. In general it contains code
that runs towards the end of the compilation process.
For more information about how codegen works, see the rustc dev guide.