summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-29 07:04:59 +0000
committerTim Northover <tnorthover@apple.com>2014-03-29 07:04:59 +0000
commit9086f061f0f97f2b2b5f9b943d5a01e54646aa92 (patch)
tree63832a3f9baf42b5b50d9ed652201a3996369b23 /llvm
parent4516de3412cd1e0cb445d475be407d0414b02595 (diff)
downloadbcm5719-llvm-9086f061f0f97f2b2b5f9b943d5a01e54646aa92.tar.gz
bcm5719-llvm-9086f061f0f97f2b2b5f9b943d5a01e54646aa92.zip
Make GetCPISymbol a virtual method.
ARM64 for iOS is going to want to emit these symbols in a linker-private style for efficiency, but other targets probably don't want that behaviour. llvm-svn: 205080
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index d4a80b05665..d96d81072d7 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/include/llvm/CodeGen/AsmPrinter.h
@@ -286,6 +286,9 @@ namespace llvm {
llvm_unreachable("EmitInstruction not implemented");
}
+ /// GetCPISymbol - Return the symbol for the specified constant pool entry.
+ virtual MCSymbol *GetCPISymbol(unsigned CPID) const;
+
virtual void EmitFunctionEntryLabel();
virtual void EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV);
@@ -329,9 +332,6 @@ namespace llvm {
/// ExternalSymbol.
MCSymbol *GetExternalSymbolSymbol(StringRef Sym) const;
- /// GetCPISymbol - Return the symbol for the specified constant pool entry.
- MCSymbol *GetCPISymbol(unsigned CPID) const;
-
/// GetJTISymbol - Return the symbol for the specified jump table entry.
MCSymbol *GetJTISymbol(unsigned JTID, bool isLinkerPrivate = false) const;
OpenPOWER on IntegriCloud