mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Fix PIC jump table codegen on x86-32/linux. In fact, such thing should be applied
to all targets uses GOT-relative offsets for PIC (Alpha?) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -311,7 +311,10 @@ namespace llvm {
|
||||
const MachineBasicBlock *MBB) const;
|
||||
virtual void printPICJumpTableSetLabel(unsigned uid, unsigned uid2,
|
||||
const MachineBasicBlock *MBB) const;
|
||||
|
||||
virtual void printPICJumpTableEntry(const MachineJumpTableInfo *MJTI,
|
||||
const MachineBasicBlock *MBB,
|
||||
unsigned uid) const;
|
||||
|
||||
/// printDataDirective - This method prints the asm directive for the
|
||||
/// specified type.
|
||||
void printDataDirective(const Type *type);
|
||||
|
Reference in New Issue
Block a user