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

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 8 15:41:46 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.29 -> 1.30
---
Log message:

Add support for assembler directives that wrap inline asm


---
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.29 llvm/include/llvm/CodeGen/AsmPrinter.h:1.30
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.29	Mon Feb  6 16:16:41 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Wed Feb  8 17:41:34 2006
@@ -86,6 +86,11 @@
     const char *FunctionAddrPrefix;       // Defaults to ""
     const char *FunctionAddrSuffix;       // Defaults to ""
 
+    /// InlineAsmStart/End - If these are nonempty, they contain a directive to
+    /// emit before and after an inline assmebly statement.
+    const char *InlineAsmStart;           // Defaults to "#APP\n"
+    const char *InlineAsmEnd;             // Defaults to "#NO_APP\n"
+    
     //===--- Data Emission Directives -------------------------------------===//
 
     /// ZeroDirective - this should be set to the directive used to get some






More information about the llvm-commits mailing list