diff options
| author | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:47:38 +0000 |
|---|---|---|
| committer | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:47:38 +0000 |
| commit | bda9b0ec7bd6974cebf751ecd23c5434b34054e9 (patch) | |
| tree | c36ff74f5e1ec34a3e3e707e48b202b3323144ff /include/llvm/CodeGen | |
| parent | a15be8ce3aaaebc675f99302e2c5e1c564268322 (diff) | |
Add support for changes in DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 88136c0eae..e3ca8aa663 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -105,6 +105,10 @@ namespace llvm { /// generate the appropriate value. virtual const std::string getGlobalLinkName(const GlobalVariable *GV) const; + /// EmitExternalGlobal - Emit the external reference to a global variable. + /// Should be overridden if an indirect reference should be used. + virtual void EmitExternalGlobal(const GlobalVariable *GV); + protected: /// doInitialization - Set up the AsmPrinter when we are working on a new /// module. If your pass overrides this, it must make sure to explicitly @@ -204,6 +208,7 @@ namespace llvm { /// EOL - Print a newline character to asm stream. If a comment is present /// then it will be printed first. Comments should not contain '\n'. + void EOL() const; void EOL(const std::string &Comment) const; /// EmitULEB128Bytes - Emit an assembler byte data directive to compose an |
