llvm-6502/test/CodeGen/AArch64
Rafael Espindola 7486d92a6c Change how we iterate over relocations on ELF.
For COFF and MachO, sections semantically have relocations that apply to them.
That is not the case on ELF.

In relocatable objects (.o), a section with relocations in ELF has offsets to
another section where the relocations should be applied.

In dynamic objects and executables, relocations don't have an offset, they have
a virtual address. The section sh_info may or may not point to another section,
but that is not actually used for resolving the relocations.

This patch exposes that in the ObjectFile API. It has the following advantages:

* Most (all?) clients can handle this more efficiently. They will normally walk
all relocations, so doing an effort to iterate in a particular order doesn't
save time.

* llvm-readobj now prints relocations in the same way the native readelf does.

* probably most important, relocations that don't point to any section are now
visible. This is the case of relocations in the rela.dyn section. See the
updated relocation-executable.test for example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182908 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-30 03:05:14 +00:00
..
adc.ll
addsub_ext.ll
addsub-shifted.ll
addsub.ll
adrp-relocation.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
alloca.ll Update PEI's virtual-register-based scavenging to support multiple simultaneous mappings 2013-03-26 18:56:54 +00:00
analyze-branch.ll
atomic-ops-not-barriers.ll AArch64: remove barriers from AArch64 atomic operations. 2013-04-08 08:40:41 +00:00
atomic-ops.ll AArch64: remove barriers from AArch64 atomic operations. 2013-04-08 08:40:41 +00:00
basic-pic.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
bitfield-insert-0.ll
bitfield-insert.ll
bitfield.ll
blockaddress.ll AArch64: implement support for blockaddress in large code model 2013-05-04 16:53:53 +00:00
bool-loads.ll
breg.ll
callee-save.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
code-model-large-abs.ll AArch64: implement large code model access to global variables. 2013-05-04 16:53:46 +00:00
compare-branch.ll
cond-sel.ll
directcond.ll
dp1.ll
dp2.ll
dp-3source.ll
elf-extern.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
extern-weak.ll AArch64: implement large code model access to global variables. 2013-05-04 16:53:46 +00:00
extract.ll
fastcc-reserved.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
fastcc.ll
fcmp.ll
fcvt-fixed.ll
fcvt-int.ll
flags-multiuse.ll
floatdp_1source.ll
floatdp_2source.ll
fp128-folding.ll AArch64: remove ConstantIsland pass & put literals in separate section. 2013-02-15 09:33:43 +00:00
fp128.ll AArch64: remove ConstantIsland pass & put literals in separate section. 2013-02-15 09:33:43 +00:00
fp-cond-sel.ll AArch64: remove ConstantIsland pass & put literals in separate section. 2013-02-15 09:33:43 +00:00
fp-dp3.ll
fpimm.ll AArch64: remove ConstantIsland pass & put literals in separate section. 2013-02-15 09:33:43 +00:00
func-argpassing.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
func-calls.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
global-alignment.ll
got-abuse.ll
i128-align.ll
illegal-float-ops.ll
init-array.ll
inline-asm-constraints-badI.ll
inline-asm-constraints-badK2.ll
inline-asm-constraints-badK.ll
inline-asm-constraints-badL.ll
inline-asm-constraints.ll
inline-asm-modifiers.ll
jump-table.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
large-frame.ll Add more test coverage for addFrameMove. 2013-05-16 15:18:50 +00:00
ldst-regoffset.ll
ldst-unscaledimm.ll
ldst-unsignedimm.ll
lit.local.cfg
literal_pools.ll AArch64: support literal pool access in large memory model. 2013-05-04 16:54:07 +00:00
local_vars.ll
logical_shifted_reg.ll
logical_shifted_reg.s
logical-imm.ll
movw-consts.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
pic-eh-stubs.ll
regress-bitcast-formals.ll
regress-f128csel-flags.ll
regress-tail-livereg.ll
regress-tblgen-chains.ll
regress-w29-reserved-with-fp.ll More test coverage for addFrameMove. 2013-05-16 20:50:56 +00:00
regress-wzr-allocatable.ll
setcc-takes-i32.ll
sibling-call.ll Teach ReMaterialization to be more cunning about subregisters 2013-05-29 19:32:06 +00:00
sincos-expansion.ll Track IR ordering of SelectionDAG nodes 3/4. 2013-05-25 03:08:10 +00:00
tail-call.ll
tls-dynamic-together.ll
tls-dynamics.ll
tls-execs.ll
tst-br.ll
variadic.ll
zero-reg.ll