Skip to content

Commit 9395640

Browse files
committed
cmt
Created using spr 1.3.4
1 parent ca8d388 commit 9395640

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/IR/Globals.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ bool GlobalValue::isInterposable() const {
111111

112112
bool GlobalValue::canBenefitFromLocalAlias() const {
113113
if (isTagged()) {
114-
// Cannot create local aliases to MTE tagged globals.
114+
// Cannot create local aliases to MTE tagged globals. Th address of a
115+
// tagged global includes a tag that is assigned by the loader in the
116+
// GOT.
115117
return false;
116118
}
117119
// See AsmPrinter::getSymbolPreferLocal(). For a deduplicate comdat kind,

0 commit comments

Comments
 (0)