diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-21 23:06:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-21 23:06:08 +0000 |
commit | 291ca1c563d64f0b7fc102d3cf9eb02ca93c278e (patch) | |
tree | c2b78fa587e5fbd5ceb0110a7177535415260e46 | |
parent | 9787c6443f890c9731f8ea56f4c16ce8c39394f8 (diff) |
Add a new flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24480 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 9f9b47e156..5c2c15f3dd 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -147,6 +147,10 @@ namespace llvm { /// COMMDirectiveTakesAlignment - True if COMMDirective take a third /// argument that specifies the alignment of the declaration. bool COMMDirectiveTakesAlignment; // Defaults to true. + + /// HasDotTypeDotSizeDirective - True if the target has .type and .size + /// directives, this is true for most ELF targets. + bool HasDotTypeDotSizeDirective; // Defaults to true. AsmPrinter(std::ostream &o, TargetMachine &tm) : FunctionNumber(0), O(o), TM(tm), @@ -170,7 +174,8 @@ namespace llvm { ConstantPoolSection("\t.section .rodata\n"), LCOMMDirective(0), COMMDirective("\t.comm\t"), - COMMDirectiveTakesAlignment(true) { + COMMDirectiveTakesAlignment(true), + HasDotTypeDotSizeDirective(true) { } /// SwitchSection - Switch to the specified section of the executable if we |