Change ELFCodeEmitter logic to emit the constant pool and jump tables to
commitf2492c371544875f6fb195e083ba0c94326eeb1d
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 21 Jul 2009 23:13:26 +0000 (21 23:13 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 21 Jul 2009 23:13:26 +0000 (21 23:13 +0000)
tree0f82b9349af64d4ebb6e7f49a8955f6705a9889d
parent920446d0b62da9858a350f299074a1dc65d56a51
Change ELFCodeEmitter logic to emit the constant pool and jump tables to
their appropriate sections before the code itself. They need to be emitted
before the function because on some targets (x86 but not x86_64) the later
may reference a JT or CP entry address

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76672 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetELFWriterInfo.h
lib/CodeGen/ELFCodeEmitter.cpp
lib/CodeGen/ELFCodeEmitter.h