Implement MASM sections correctly, without a "has masm sections flag" and a
authorChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 05:33:28 +0000 (05:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 05:33:28 +0000 (05:33 +0000)
bunch of special case code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28193 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h

index 5f895b3c3cdbbf276ac41625cc43c2f35f29e68c..b8f00e6e0793a4f8bc83ed9b295db84e40d6ce31 100644 (file)
@@ -137,7 +137,18 @@ namespace llvm {
     /// 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.