implement X86 @GOTOFF jump table entries with the new EK_Custom32
authorChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 05:02:42 +0000 (05:02 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 05:02:42 +0000 (05:02 +0000)
commitc64daabb70a2e0cb115f78b0c1548e65c0d527ff
treeb8d76538f8aceae79882a15cec1c076578acea06
parentf71cb015c1386ff8adc9ef0aa03fc0f0fc4a6e3e
implement X86 @GOTOFF jump table entries with the new EK_Custom32
jump table entry kind, instead of overloading
AsmPrinter::printPICJumpTableEntry.

This has a pretty horrible and inefficient FIXME around how @GOTOFF
is currently smashed into the mcsymbol name, but otherwise this is
much cleaner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94516 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
lib/Target/X86/AsmPrinter/X86AsmPrinter.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h