Home
last modified time | relevance | path

Searched refs:dynsym (Results 1 – 25 of 121) sorted by relevance

12345

/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Ddynsym-section.yaml3 ## Check we do not crash/assert when .dynsym is specified
5 ## Check we set the sh_link field to 0 for the .dynsym section in this case.
13 # CHECK-NEXT: [ 1] .dynsym DYNSYM 0000000000000000 000040 000018 18 A 0
21 - Name: .dynsym
33 # OFFSET-NEXT: [ 1] .dynsym DYNSYM 0000000000000000 000100 000018 18 A 0 1 0
35 ## Check we are able to set Link = 0 for the .dynsym section explicitly.
41 # LINK-NULL: [ 1] .dynsym {{.*}} A 0 1
49 - Name: .dynsym
64 # LINK-DEFAULT: [ 1] .dynsym {{.*}} A 2 1
74 # LINK-FOO: [ 1] .dynsym {{.*}} A 3 1
[all …]
H A Ddynsymtab-implicit-sections-size-content.yaml23 - Name: .dynsym
42 - Name: .dynsym
58 - Name: .dynsym
79 - Name: .dynsym
95 - Name: .dynsym
107 # CASE4: Name: .dynsym
129 - Name: .dynsym
138 # CASE5: Name: .dynsym
160 - Name: .dynsym
193 - Name: .dynsym
[all …]
H A Dsymtab-implicit-sections-flags.yaml5 ## for .symtab and the SHF_ALLOC flag for .dynsym by default.
14 # CASE1: Name: .dynsym
28 - Name: .dynsym
31 ## Check we can set arbitrary flags for .symtab/.dynsym.
42 # CASE2: Name: .dynsym
57 - Name: .dynsym
H A Dimplicit-sections-info.yaml2 ## explicitly listed .dynstr, .dynsym, .strtab and .symtab
20 # CASE1: Name: .dynsym
37 - Name: .dynsym
55 # CASE2: Name: .dynsym
89 # CASE3: Name: .dynsym
108 - Name: .dynsym
H A Dimplicit-sections.yaml1 ## Check the section header properties of ".dynsym",
15 # CHECK-NEXT: [ 2] .dynsym DYNSYM 0000000000000150 000041 000018
30 - Name: .dynsym
43 ## Check that yaml2obj creates empty .dynstr and .dynsym sections for
54 # NODYNSYM-NEXT: [ 2] .dynsym DYNSYM 0000000000000150 000041 000018
69 - Name: .dynsym
H A Dimplicit-sections-types.yaml10 # CASE1: Name: .dynsym
28 ## Needed to force the creation of the .dynsym and .dynstr.
43 # CASE2: Name: .dynsym
60 - Name: .dynsym
H A Dimplicit-sections-addr.yaml5 ## explicitly listed .dynstr, .dynsym, .strtab
15 # CHECK: Name: .dynsym
44 - Name: .dynsym
H A Dversym-section.yaml86 ## Check we link the SHT_GNU_versym section to the .dynsym section by default.
94 # FIELDS: [ 2] .dynsym DYNSYM 0000000000000000 000040 000018 18 A 3
108 ## Needed to emit the .dynsym section.
118 ## Also, check that we set the sh_link field to 0 when there is no .dynsym section.
178 ## Check we set the sh_link field to 0 when the .dynsym section is excluded
195 - Name: .dynsym
203 - Name: .dynsym
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Ddynrelocsec-remove-shlink-reference.test3 ## Check we cannot remove the .dynsym symbol table because dynamic
5 # RUN: not llvm-objcopy -R .dynsym %t %t2 2>&1 >/dev/null | FileCheck %s --check-prefix=ERR -DINPUT…
6 # ERR: error: '[[INPUT]]': symbol table '.dynsym' cannot be removed because it is referenced by the…
8 ## Check we can remove .dynsym after removing the reference.
9 # RUN: llvm-objcopy -R .dynsym -R .rela.dyn %t %t2
10 # RUN: llvm-readelf --sections %t2 | FileCheck %s --implicit-check-not=".dynsym"
13 # RUN: llvm-objcopy -R .dynsym --allow-broken-links %t %t2
17 # DROP-LINK-NOT: .dynsym
30 Link: .dynsym
H A Ddynsym-error-remove-strtab.test1 …vm-objcopy -R .dynstr %p/Inputs/dynsym.so %t 2>&1 >/dev/null | FileCheck %s --check-prefix=ERR1 -D…
2 # RUN: cp %p/Inputs/dynsym.so %t2
5 … '[[INPUT]]': section '.dynstr' cannot be removed because it is referenced by the section '.dynsym'
6 … '[[INPUT]]': section '.dynstr' cannot be removed because it is referenced by the section '.dynsym'
8 # RUN: llvm-objcopy --allow-broken-links -R .dynstr %p/Inputs/dynsym.so %t3
10 # RUN: cp %p/Inputs/dynsym.so %t4
14 # SECTIONS: .dynsym
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dout-of-order.s10 # seg2: .dynsym .dynstr .text .hash
15 # for seg2, we assign address: .dynsym(0x2000), .dynstr(0x2018) ...
16 # .dynsym is not an orphan, so we take address from script, we assign
17 # .dynstr current address cursor, which is the end # of .dynsym and so
29 # CHECK-NEXT: 3 .dynsym 00000018 0000000000002000
H A Ddiscard-section-dynsym.s3 ## We allow discarding .dynsym, check we don't crash.
6 # RUN: echo 'SECTIONS { /DISCARD/ : { *(.dynsym) } }' > %t.lds
10 # RUN: echo 'SECTIONS { /DISCARD/ : { *(.dynsym .dynstr) } }' > %t.lds
H A Dimplicit-program-header.test11 # CHECK-NEXT: 01 .foo .dynsym .hash .dynstr .dynamic
12 # CHECK-NEXT: 02 .foo .dynsym .hash .dynstr .dynamic
H A Demit-reloc.s11 # RUN: .dynsym : { *(.dynsym) } \
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/X86/
H A Delf-dynamic-symbols.test55 ## Test dumping ELF files with no .dynsym section.
72 ## Test dumping ELF files with logically empty .dynsym section (only has a 0-index NULL symbol).
90 ## Test dumping ELF files with truly empty .dynsym section (size of .dynsym section is 0).
107 - Name: .dynsym
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dreladyn-section-shinfo.yaml25 # YAML-NEXT: Link: .dynsym
38 Link: .dynsym
39 # Add at least one symbol to trigger the .dynsym emission.
H A Dimplicit-sections-order.yaml4 ## In the following test we check the normal case: when .dynsym (SHT_DYNSYM)
19 # RE-1-NEXT: [ 2] .dynsym DYNSYM 0000000000001000 000040 000030 18 A 4 2 0
20 # RE-2-NEXT: [ 2] .dynsym DYNSYM 0000000000001000 000040 000030 18 4 2 0
43 # OUTPUT-NEXT: - Name: .dynsym
76 - Name: .dynsym
113 ## allocatable sections, but .dynsym (SHT_DYNSYM) and
/llvm-project-15.0.7/lldb/test/Shell/ObjectFile/ELF/
H A Dnull-jmprel.yaml21 FirstSec: .dynsym
51 - Name: .dynsym
62 Link: .dynsym
74 Link: .dynsym
/llvm-project-15.0.7/llvm/test/tools/llvm-nm/
H A Ddynamic.test3 ## Test llvm-nm dumping ELF file with valid .dynsym section.
33 ## Test llvm-nm dumping ELF file without a .dynsym section.
48 ## Test llvm-nm dumping ELF file with an empty .dynsym section.
60 - Name: .dynsym
132 - Name: .dynsym
188 # RUN: yaml2obj --docnum=4 -DENTSIZE=0xff %s -o %t4-broken-dynsym.o
189 # RUN: not llvm-nm --dynamic %t4-broken-dynsym.o 2>&1 | \
190 # RUN: FileCheck %s -DFILE=%t4-broken-dynsym.o --check-prefix=VERSION-ERR4
H A Dinvalid-symbol-table-size.test4 ## a) Broken .symtab symbol table. Valid .dynsym symbol table.
10 ## b) Broken .dynsym symbol table. Valid .symtab symbol table.
31 - Name: .dynsym
/llvm-project-15.0.7/bolt/test/AArch64/Inputs/
H A Dtls-trad.yaml11 FirstSec: .dynsym
33 - Name: .dynsym
48 Link: .dynsym
132 - Name: .dynsym
H A Dtls-ld.yaml11 FirstSec: .dynsym
33 - Name: .dynsym
116 Link: .dynsym
125 - Name: .dynsym
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/
H A Dinvalid-symbol-table-size.test4 ## a) Broken .symtab symbol table. Valid .dynsym symbol table.
10 ## b) Broken .dynsym symbol table. Valid .symtab symbol table.
31 - Name: .dynsym
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dversym-invalid.test53 # INVALID-STRING-TABLE-GNU-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 3 (.dynsym)
81 # MISALIGNED-GNU-NEXT: Addr: 0000000000000000 Offset: 0x00ffff Link: 2 (.dynsym)
99 - Name: .dynsym
121 # INVALID-NAME-GNU-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 2 (.dynsym)
125 ## the section linked with the SHT_GNU_verneed section (usually ".dynsym").
144 # INVALID-ENT-SIZE-GNU: Symbol table '.dynsym' contains 2 entries:
150 # INVALID-ENT-SIZE-GNU-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 2 (.dynsym)
220 ## table that is not called ".dynsym".
245 Link: .foo.dynsym
248 - Name: .foo.dynsym
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Dnote-first-page.s7 # (.dynsym .dynstr (and .rela.dyn in PIE)). This ensures the note information
12 # CHECK: [ 2] .dynsym

12345