mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Test commit.
llvm-svn: 265976
This commit is contained in:
parent
bcb113ba80
commit
0bd1bfc81e
@ -83,7 +83,7 @@ ClassifyGlobalReference(const GlobalValue *GV, const TargetMachine &TM) const {
|
||||
} else if (!isTargetWin64()) {
|
||||
assert(isTargetELF() && "Unknown rip-relative target");
|
||||
|
||||
// Extra load is needed for all externally visible.
|
||||
// Extra load is needed for all externally visible globals.
|
||||
if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility())
|
||||
return X86II::MO_GOTPCREL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user