[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Jim Laskey jlaskey at apple.com
Wed Feb 21 14:48:00 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.61 -> 1.62
---
Log message:

Add support for changes in DwarfWriter.

---
Diffs of the changes:  (+5 -0)

 AsmPrinter.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.61 llvm/include/llvm/CodeGen/AsmPrinter.h:1.62
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.61	Fri Jan 26 08:34:51 2007
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Wed Feb 21 16:47:38 2007
@@ -105,6 +105,10 @@
     /// 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 @@
 
     /// 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






More information about the llvm-commits mailing list