We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463c9f4 commit 23f144eCopy full SHA for 23f144e
llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
@@ -32,6 +32,8 @@ using namespace llvm;
32
static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO,
33
AsmPrinter &AP) {
34
if (MO.isGlobal()) {
35
+ // Get the symbol from the global, accounting for XCOFF-specific
36
+ // intricacies (see TargetLoweringObjectFileXCOFF::getTargetSymbol).
37
const GlobalValue *GV = MO.getGlobal();
38
return AP.getSymbol(GV);
39
}
0 commit comments