[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h
Chris Lattner
sabre at nondot.org
Wed Jan 17 17:13:16 PST 2007
Changes in directory llvm/include/llvm/Target:
TargetAsmInfo.h updated: 1.22 -> 1.23
---
Log message:
add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.
---
Diffs of the changes: (+7 -0)
TargetAsmInfo.h | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.22 llvm/include/llvm/Target/TargetAsmInfo.h:1.23
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.22 Wed Jan 17 11:42:30 2007
+++ llvm/include/llvm/Target/TargetAsmInfo.h Wed Jan 17 19:12:56 2007
@@ -78,6 +78,10 @@
/// have names in the .o file. This is often "." or "L".
const char *PrivateGlobalPrefix; // Defaults to "."
+ /// JumpTableSpecialLabelPrefix - If not null, a extra (dead) label is
+ /// emitted before jump tables with the specified prefix.
+ const char *JumpTableSpecialLabelPrefix; // Default to null.
+
/// GlobalVarAddrPrefix/Suffix - If these are nonempty, these strings
/// will enclose any GlobalVariable (that isn't a function)
///
@@ -343,6 +347,9 @@
const char *getPrivateGlobalPrefix() const {
return PrivateGlobalPrefix;
}
+ const char *getJumpTableSpecialLabelPrefix() const {
+ return JumpTableSpecialLabelPrefix;
+ }
const char *getGlobalVarAddrPrefix() const {
return GlobalVarAddrPrefix;
}
More information about the llvm-commits
mailing list