diff options
author | Tim Northover <tnorthover@apple.com> | 2014-03-29 07:04:59 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-03-29 07:04:59 +0000 |
commit | 42529ad33a84c64876a7f9a6eacf2905cbdcdc35 (patch) | |
tree | 95bac7d4f80ccc340a75a3eafa6be1d57fecaad2 /include/llvm/CodeGen | |
parent | 7c3e057ff49a67814a48a2702d56faf2a624f9a6 (diff) | |
download | llvm-42529ad33a84c64876a7f9a6eacf2905cbdcdc35.tar.gz llvm-42529ad33a84c64876a7f9a6eacf2905cbdcdc35.tar.bz2 llvm-42529ad33a84c64876a7f9a6eacf2905cbdcdc35.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index d4a80b0566..d96d81072d 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/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; |