[llvm] [x86] Handle implicit sections when determining if a global is large (PR #206210)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 15:48:55 PDT 2026
================
@@ -368,6 +369,26 @@ SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO,
return SectionKind::getData();
}
+StringRef
+TargetLoweringObjectFile::getCustomSectionName(const GlobalObject *GO,
+ const TargetMachine &TM) {
+ const GlobalVariable *GV = dyn_cast<GlobalVariable>(GO);
----------------
aeubanks wrote:
this function is now accessible to callers, so needs to be in a publicly visible class
added comment back
https://github.com/llvm/llvm-project/pull/206210
More information about the llvm-commits
mailing list