[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 21 15:06:20 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.21 -> 1.22
---
Log message:
Add a new flag
---
Diffs of the changes: (+6 -1)
AsmPrinter.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.21 llvm/include/llvm/CodeGen/AsmPrinter.h:1.22
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.21 Mon Nov 21 13:51:51 2005
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Mon Nov 21 17:06:08 2005
@@ -147,6 +147,10 @@
/// 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 @@
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
More information about the llvm-commits
mailing list