From b6c76ec46ef022717cf3c4f273edc2abfad1662b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 May 2006 05:33:28 +0000 Subject: [PATCH] Implement MASM sections correctly, without a "has masm sections flag" and a 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 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 5f895b3c3cd..b8f00e6e079 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -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. -- 2.34.1