Split the "operand -> symbol" logic from the "get offset and other munging
from operand" logic. GlobalAddress still todo.
llvm-svn: 80884
diff --git a/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h b/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
index 0dd422f..dbf471a 100644
--- a/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
+++ b/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
@@ -72,9 +72,10 @@
void printInstruction(const MCInst *MI);
MCSymbol *GetPICBaseSymbol();
MCOperand LowerGlobalAddressOperand(const MachineOperand &MO);
- MCOperand LowerExternalSymbolOperand(const MachineOperand &MO);
- MCOperand LowerJumpTableOperand(const MachineOperand &MO);
- MCOperand LowerConstantPoolIndexOperand(const MachineOperand &MO);
+ MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO);
+ MCSymbol *GetJumpTableSymbol(const MachineOperand &MO);
+ MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO);
+ MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym);
virtual void printMCInst(const MCInst *MI) { printInstruction(MI); }