diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-09 05:33:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-09 05:33:28 +0000 |
commit | b6c76ec46ef022717cf3c4f273edc2abfad1662b (patch) | |
tree | 3e9bfe156ee711841638219124b895af8a8b4063 /include/llvm/CodeGen/AsmPrinter.h | |
parent | a7090ae7a3209783ba2a2f7b8ab5744ec3d292b3 (diff) | |
download | external_llvm-b6c76ec46ef022717cf3c4f273edc2abfad1662b.zip external_llvm-b6c76ec46ef022717cf3c4f273edc2abfad1662b.tar.gz external_llvm-b6c76ec46ef022717cf3c4f273edc2abfad1662b.tar.bz2 |
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
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 5f895b3..b8f00e6 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. |