/external/llvm/test/MC/MachO/AArch64/ |
classrefs.s | 3 ; Test that we produce an external relocation with Lbar. We could also produce 4 ; an internal relocation. We just have to be careful to not use another symbol. 8 // CHECK-NEXT: Relocation {
|
cfstring.s | 3 ; Test that we produce an external relocation. There is no apparent need for it, but 8 // CHECK-NEXT: Relocation {
|
reloc-crash.s | 3 ; Test tha we produce an external relocation. There is no apparent need for it, but 8 ; CHECK-NEXT: Relocation {
|
/external/llvm/bindings/python/llvm/tests/ |
test_object.py | 3 from ..object import Relocation 61 for relocation in section.get_relocations(): 62 assert isinstance(relocation, Relocation) 63 assert isinstance(relocation.address, long) 64 assert isinstance(relocation.offset, long) 65 assert isinstance(relocation.type_number, long) 66 assert isinstance(relocation.type_name, str) 67 assert isinstance(relocation.value_string, str)
|
/external/elfutils/src/tests/ |
run-elflint-test.sh | 24 section [ 8] '.rela.dyn': relocation 1: copy relocation against symbol of type FUNC
|
/external/llvm/test/MC/ARM/Windows/ |
invalid-relocation.s | 13 # CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12
|
/external/llvm/test/MC/MachO/ARM/ |
bad-darwin-ARM-reloc.s | 9 @ CHECK-ERROR: unsupported relocation on symbol
|
long-call-branch-island-relocation.s | 21 @ Make the _foo symbol sufficiently far away to force the 'bl' relocation 23 @ generating an external relocation so the linker can create a branch 40 @ CHECK: # Relocation 0
|
/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
ELF_x64-64_PIC_relocations.s | 1 # RUN: llvm-mc -triple=x86_64-pc-linux -relocation-model=pic -filetype=obj -o %T/test_ELF1_x86-64.o %s 2 # RUN: llvm-mc -triple=x86_64-pc-linux -relocation-model=pic -filetype=obj -o %T/test_ELF2_x86-64.o %s 3 # RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalGlobal_x86-64.o %S/Inputs/ExternalGlobal.ll
|
MachO_i386_DynNoPIC_relocations.s | 1 # RUN: llvm-mc -triple=i386-apple-macosx10.4 -relocation-model=dynamic-no-pic -filetype=obj -o %T/test_i386.o %s 11 # Test section difference relocation to non-lazy ptr section. 17 # Test VANILLA relocation to jump table.
|
MachO_x86-64_PIC_relocations.s | 1 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %T/test_x86-64.o %s 23 # Test PC-rel GOT relocation.
|
MachO_i386_eh_frame.s | 1 # RUN: llvm-mc -triple=i386-apple-macosx10.4 -relocation-model=dynamic-no-pic -filetype=obj -o %T/MachO_i386_eh_frame.o %s
|
/bionic/tools/relocation_packer/src/ |
delta_encoder_unittest.cc | 18 T relocation; local 19 relocation.r_offset = addr; 20 relocation.r_info = info; 21 relocation.r_addend = addend; 22 relocations->push_back(relocation); 29 const T& relocation) { 30 return relocation.r_offset == addr && 31 relocation.r_info == info && 32 relocation.r_addend == addend; 50 // Initial relocation [all...] |
delta_encoder.cc | 41 // Start with the relocation count, then append groups 87 const ElfRela* relocation = &relocations[group_start + i]; local 90 packed->push_back(relocation->r_offset - previous_offset); 92 previous_offset = relocation->r_offset; 95 packed->push_back(relocation->r_info); 100 packed->push_back(relocation->r_addend - previous_addend); 101 previous_addend = relocation->r_addend; 105 // If the relocation group does not have an addend - reset it to 0
|
packer_unittest.cc | 18 typename ELF::Rela relocation; local 19 relocation.r_offset = addr; 20 relocation.r_info = info; 21 relocation.r_addend = addend; 23 relocations->push_back(relocation); 30 const typename ELF::Rela& relocation) { 31 return relocation.r_offset == addr && 32 relocation.r_info == info && 33 relocation.r_addend == addend; 43 // Initial relocation [all...] |
/external/llvm/test/MC/ARM/ |
elf-thumbfunc-reloc.s | 23 @@ make sure an R_ARM_THM_CALL relocation is generated for the call to g 30 @@ make sure the relocation is with f. That is one way to make sure it includes
|
thumb1-relax-adr.s | 8 @ CHECK-ERROR: unsupported relocation on symbol
|
thumb1-relax-ldrlit.s | 8 @ CHECK-ERROR: unsupported relocation on symbol
|
thumb1-relax-bcc.s | 9 @ CHECK-ERROR: unsupported relocation on symbol
|
thumb1-relax-br.s | 9 @ There is no MachO relocation for Thumb1's unconditional branch, so 13 @ CHECK-ERROR: unsupported relocation on symbol
|
/external/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ |
MachO_ARM64_relocations.s | 1 # RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -code-model=small -relocation-model=pic -filetype=obj -o %T/foo.o %s 16 # Test ARM64_RELOC_BRANCH26 relocation. The branch instruction only encodes 26 26 # Test ARM64_RELOC_PAGE21 and ARM64_RELOC_PAGEOFF12 relocation. adrp encodes 42 # relocation. adrp encodes the PC-relative page (4 KiB) difference between the 59 # Test ARM64_RELOC_UNSIGNED relocation. The absolute 64-bit address of the
|
/external/llvm/test/MC/Mips/ |
sort-relocation-table.s | 3 # Test the order of records in the relocation table. 5 # corresponding *LO16 relocation against the same symbol. 7 # We try to implement the same semantics as gas, ie. to order the relocation 11 # mips-linux-gnu-as -EL sort-relocation-table.s -o sort-relocation-table.o 79 # sym7 is a local symbol, so GOT relocation against it needs a matching LO.
|
/external/llvm/test/ExecutionEngine/RuntimeDyld/ARM/ |
MachO_ARM_PIC_relocations.s | 1 # RUN: llvm-mc -triple=armv7s-apple-ios7.0.0 -relocation-model=pic -filetype=obj -o %T/foo.o %s 9 # Check lower 16-bits of section difference relocation 13 # Check upper 16-bits of section difference relocation 38 # section. This ensures that we test VANILLA relocation addends correctly.
|
/external/llvm/test/MC/PowerPC/ |
ppc64-initial-cfa.s | 1 # RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \ 3 # RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \ 5 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=static %s | \ 7 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -relocation-model=pic %s | \
|
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 63 case LDFileFormat::Relocation: 102 case LDFileFormat::Relocation: 103 // sort relocation for the benefit of the dynamic linker. 385 case LDFileFormat::Relocation: 473 llvm::report_fatal_error("unsupported relocation section type!"); 487 const Relocation* relocation = 0; local 496 relocation = &(llvm::cast<Relocation>(*it)); 497 frag_ref = &(relocation->targetRef()) 529 const Relocation* relocation = 0; local [all...] |