[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sun Sep 24 12:43:46 PDT 2006
Changes in directory llvm/include/llvm/Target:
TargetAsmInfo.h updated: 1.2 -> 1.3
---
Log message:
Add support for other relocation bases to jump tables, as well as custom asm directives
---
Diffs of the changes: (+4 -0)
TargetAsmInfo.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.2 llvm/include/llvm/Target/TargetAsmInfo.h:1.3
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.2 Thu Sep 7 17:06:40 2006
+++ llvm/include/llvm/Target/TargetAsmInfo.h Sun Sep 24 14:43:29 2006
@@ -108,6 +108,7 @@
const char *Data16bitsDirective; // Defaults to "\t.short\t"
const char *Data32bitsDirective; // Defaults to "\t.long\t"
const char *Data64bitsDirective; // Defaults to "\t.quad\t"
+ const char *JumpTableDirective; // if used, the jump table reloc flag
//===--- Alignment Information ----------------------------------------===//
@@ -323,6 +324,9 @@
const char *getData64bitsDirective() const {
return Data64bitsDirective;
}
+ const char *getJumpTableDirective() const {
+ return JumpTableDirective;
+ }
const char *getAlignDirective() const {
return AlignDirective;
}
More information about the llvm-commits
mailing list