[llvm] [X86] Change how we treat functions with explicit sections as small/large (PR #88172)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 16 11:20:30 PDT 2024
================
@@ -43,6 +43,9 @@ bool TargetMachine::isLargeGlobalValue(const GlobalValue *GVal) const {
if (getTargetTriple().getArch() != Triple::x86_64)
return false;
+ if (!getTargetTriple().isOSBinFormatELF())
----------------
aeubanks wrote:
done
https://github.com/llvm/llvm-project/pull/88172
More information about the llvm-commits
mailing list