[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Chris Lattner
lattner at cs.uiuc.edu
Mon May 8 22:33:41 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.38 -> 1.39
---
Log message:
Implement MASM sections correctly, without a "has masm sections flag" and a
bunch of special case code.
---
Diffs of the changes: (+12 -1)
AsmPrinter.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.38 llvm/include/llvm/CodeGen/AsmPrinter.h:1.39
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.38 Mon May 8 23:59:30 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Tue May 9 00:33:28 2006
@@ -137,7 +137,18 @@
/// emit a global to an arbitrary section. The section name is emited after
/// this.
const char *SwitchToSectionDirective; // Defaults to "\t.section\t"
- bool MLSections; // True if Microsoft ML assembler is targetted
+
+ /// TextSectionStartSuffix - This is printed after each start of section
+ /// directive for text sections.
+ const char *TextSectionStartSuffix; // Defaults to "".
+
+ /// DataSectionStartSuffix - This is printed after each start of section
+ /// directive for data sections.
+ const char *DataSectionStartSuffix; // Defaults to "".
+
+ /// SectionEndDirectiveSuffix - If non-null, the asm printer will close each
+ /// section with the section name and this suffix printed.
+ const char *SectionEndDirectiveSuffix; // Defaults to null.
/// ConstantPoolSection - This is the section that we SwitchToSection right
/// before emitting the constant pool for a function.
More information about the llvm-commits
mailing list