[llvm-dev] Who patches the fixups?

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 16 06:59:23 PST 2016


On 2/16/2016 7:04 AM, Jun Koi via llvm-dev wrote:
>
> I am trying to undertand which code in LLVM patches the fixups generated
> by assembler.
>

What do you mean exactly?  The actual machine code is generated by 
MCCodeEmitter, for example
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp

The relocations from the object files are applied by the linker, not LLVM.

-Krzysztof


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list