[llvm] [BOLT] Add x86-64 large code model support (.ltext sections) (PR #190637)

Farid Zakaria via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 09:22:54 PDT 2026


fzakaria wrote:

@maksfb do we still want:

* Emit .ltext-origin functions back to .ltext with SHF_X86_64_LARGE
* Rename .ltext to .bolt.org.ltext (mirroring .text handling)
* Propagate SHF_X86_64_LARGE through section creation pipeline
* Add .ltext to code section sort order (placed before .text)

I can rebase this change and add that functionality?

https://github.com/llvm/llvm-project/pull/190637


More information about the llvm-commits mailing list