[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h
Jim Laskey
jlaskey at apple.com
Thu Feb 1 08:32:02 PST 2007
Changes in directory llvm/include/llvm/Target:
TargetAsmInfo.h updated: 1.24 -> 1.25
---
Log message:
Support for non-landing pad exception handling.
---
Diffs of the changes: (+18 -1)
TargetAsmInfo.h | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.24 llvm/include/llvm/Target/TargetAsmInfo.h:1.25
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.24 Mon Jan 29 12:51:14 2007
+++ llvm/include/llvm/Target/TargetAsmInfo.h Thu Feb 1 10:31:34 2007
@@ -51,7 +51,7 @@
/// AddressSize - Size of addresses used in file.
///
unsigned AddressSize; // Defaults to 4.
-
+
/// NeedsSet - True if target asm can't compute addresses on data
/// directives.
bool NeedsSet; // Defaults to false.
@@ -60,6 +60,10 @@
/// which is needed to compute the size of an inline asm.
unsigned MaxInstLength; // Defaults to 4.
+ /// PCSymbol - The symbol used to represent the current PC. Used in PC
+ /// relative expressions.
+ const char *PCSymbol; // Defaults to "$".
+
/// SeparatorChar - This character, if specified, is used to separate
/// instructions from each other when on the same line. This is used to
/// measure inline asm instructions.
@@ -305,6 +309,10 @@
/// DwarfMacInfoSection - Section directive for Dwarf info.
///
const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
+
+ /// DwarfEHFrameSection - Section directive for Exception frames.
+ ///
+ const char *DwarfEHFrameSection; // Defaults to ".eh_frame".
//===--- CBE Asm Translation Table -----------------------------------===//
@@ -346,6 +354,12 @@
bool needsSet() const {
return NeedsSet;
}
+ const char *getPCSymbol() const {
+ return PCSymbol;
+ }
+ char getSeparatorChar() const {
+ return SeparatorChar;
+ }
const char *getCommentString() const {
return CommentString;
}
@@ -523,6 +537,9 @@
const char *getDwarfMacInfoSection() const {
return DwarfMacInfoSection;
}
+ const char *getDwarfEHFrameSection() const {
+ return DwarfEHFrameSection;
+ }
const char** getAsmCBE() const {
return AsmTransCBE;
}
More information about the llvm-commits
mailing list