[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Nate Begeman
natebegeman at mac.com
Wed Jul 26 18:13:24 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.43 -> 1.44
---
Log message:
Support jump tables when in PIC relocation model
---
Diffs of the changes: (+9 -3)
AsmPrinter.h | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.43 llvm/include/llvm/CodeGen/AsmPrinter.h:1.44
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.43 Wed Jun 28 19:26:09 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Wed Jul 26 20:13:04 2006
@@ -156,9 +156,15 @@
/// before emitting the constant pool for a function.
const char *ConstantPoolSection; // Defaults to "\t.section .rodata\n"
- /// JumpTableSection - This is the section that we SwitchToSection right
- /// before emitting the jump tables for a function.
- const char *JumpTableSection; // Defaults to "\t.section .rodata\n"
+ /// JumpTableDataSection - This is the section that we SwitchToSection right
+ /// before emitting the jump tables for a function when the relocation model
+ /// is not PIC.
+ const char *JumpTableDataSection; // Defaults to "\t.section .rodata\n"
+
+ /// JumpTableTextSection - This is the section that we SwitchToSection right
+ /// before emitting the jump tables for a function when the relocation model
+ /// is PIC.
+ const char *JumpTableTextSection; // Defaults to "\t.text\n"
/// StaticCtorsSection - This is the directive that is emitted to switch to
/// a section to emit the static constructor list.
More information about the llvm-commits
mailing list