aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMMCInstLower.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-22 23:27:36 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-22 23:27:36 +0000
commit637d89fe0eca4fa2b9c95f6c15eb69a99bae83bc (patch)
tree297d494459ff003f9e2d1d7bd36c0e90414d01c4 /lib/Target/ARM/ARMMCInstLower.h
parentdf046f078e95417f0ece761c92b8cc549f7ab105 (diff)
downloadexternal_llvm-637d89fe0eca4fa2b9c95f6c15eb69a99bae83bc.tar.gz
external_llvm-637d89fe0eca4fa2b9c95f6c15eb69a99bae83bc.tar.bz2
external_llvm-637d89fe0eca4fa2b9c95f6c15eb69a99bae83bc.zip
Add support for ELF PLT references for ARM MC asm printing. Adding a
new VariantKind to the MCSymbolExpr seems like overkill, but I'm not sure there's a more straightforward way to get the printing difference captured. (i.e., x86 uses @PLT, ARM uses (PLT)). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMMCInstLower.h')
-rw-r--r--lib/Target/ARM/ARMMCInstLower.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.h b/lib/Target/ARM/ARMMCInstLower.h
index 79ed2e9c48..c4d27f88df 100644
--- a/lib/Target/ARM/ARMMCInstLower.h
+++ b/lib/Target/ARM/ARMMCInstLower.h
@@ -43,7 +43,8 @@ public:
//MCSymbol *GetPICBaseSymbol() const;
MCSymbol *GetGlobalAddressSymbol(const GlobalValue *GV) const;
const MCSymbolRefExpr *GetSymbolRef(const MachineOperand &MO) const;
- MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
+ const MCSymbolRefExpr *GetExternalSymbolSymbol(const MachineOperand &MO)
+ const;
MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
MCOperand LowerSymbolRefOperand(const MachineOperand &MO,