[all-commits] [llvm/llvm-project] 38e435: [X86] With large code model, put functions into .l...
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Tue Nov 28 12:55:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38e435895779c6f0e6c47a171f3b300ad99828b3
https://github.com/llvm/llvm-project/commit/38e435895779c6f0e6c47a171f3b300ad99828b3
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/Target/TargetMachine.cpp
M llvm/lib/Target/X86/X86Subtarget.cpp
A llvm/test/CodeGen/X86/code-model-elf-text-sections.ll
M llvm/test/CodeGen/X86/pcsections.ll
M llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
Log Message:
-----------
[X86] With large code model, put functions into .ltext with large section flag (#73037)
So that when mixing small and large text, large text stays out of the
way of the rest of the binary.
This is useful for mixing precompiled small code model object files and
built-from-source large code model binaries so that the the text
sections don't get merged.
More information about the All-commits
mailing list