[BOLT] [NFC] Cleanup old code in mapCodeSections
Summary: In "Add initial function injection support", Laith added this code because injected functions would use the original text section as the section to emit their code to. Now, what happens is that functions are mapped to either their own section in non-reloc mode, or mapped to a particular section in the pass reassign sections. So this section does not need to have an output address anymore and this code is obsolete. (cherry picked from FBD30980450)
parent
7b779f81
Please register or sign in to comment