In my previous post, LLVMintegrated assembler: Improving expressions and relocationsdelvedinto enhancements made to LLVM's expression resolving and relocationgeneration. This post covers recent refinements to MC, focusing onsections and symbols.Sections123456789101112classMCSection{...enumSectionVariant{SV_COFF =0,SV_ELF,SV_GOFF,SV_MachO,SV_Wasm,SV_XCOFF,SV_SPIRV,SV_DXContainer,};Previously, theMCSectionclass used an enum calledSectionVariantto differentiate between various object fileformats, such as ELF, Mach-O, and COFF. These subclasses are used incontexts where the section
...
继续阅读
(41)