Home
last modified time | relevance | path

Searched +full:section +full:- +full:name (Results 1 – 25 of 1358) sorted by relevance

12345678910>>...55

/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dgroups.test1 ## Check that llvm-readelf and llvm-readobj can
4 # RUN: yaml2obj %s -o %t.o
5 # RUN: llvm-readobj -g %t.o | FileCheck %s
6 # RUN: llvm-readelf -g %t.o | FileCheck --check-prefix=GNU %s
9 # CHECK-NEXT: Group {
10 # CHECK-NEXT: Name: .group
11 # CHECK-NEXT: Index: 1
12 # CHECK-NEXT: Link: 7
13 # CHECK-NEXT: Info: 1
14 # CHECK-NEXT: Type: COMDAT
[all …]
Dsection-symbols.test1 ## ELF section symbols use the corresponding section names when printing
3 ## are printed if the section is somehow invalid.
5 # RUN: yaml2obj %s -o %t1
6 # RUN: llvm-readobj %t1 --symbols --relocations 2>&1 | \
7 # RUN: FileCheck %s -DFILE=%t1 --check-prefix=LLVM1 --implicit-check-not="warning:"
8 # RUN: llvm-readelf %t1 --symbols --relocations 2>&1 | \
9 # RUN: FileCheck %s -DFILE=%t1 --check-prefix=GNU1 --implicit-check-not="warning:"
12 # LLVM1-NEXT: Section (4) .rela.foo {
13 # LLVM1-NEXT: 0x1 R_X86_64_NONE .foo 0x0
14 # LLVM1-NEXT: 0x2 R_X86_64_NONE symbol1 0x0
[all …]
Dsymbol-shndx.test1 ## Show that llvm-readobj prints symbol shndxes correctly, for valid indexes,
2 ## invalid indexes (i.e. section indexes that don't correspond to a real
3 ## section), reserved values and processor/os-specific index values, for both GNU
6 # RUN: yaml2obj --docnum=1 %s -o %t1
7 # RUN: llvm-readobj --symbols %t1 | FileCheck %s --check-prefix=LLVM1
8 # RUN: llvm-readelf --symbols %t1 | FileCheck %s --check-prefix=GNU1
10 # LLVM1: Name: undef
11 # LLVM1: Section:
12 # LLVM1-SAME: Undefined (0x0)
13 # LLVM1: Name: normal
[all …]
Drelocation-errors.test3 # RUN: yaml2obj %s -o %t64
4 # RUN: llvm-readobj --relocations %t64 2>&1 | FileCheck %s -DFILE=%t64 --check-prefix=LLVM
5 # RUN: llvm-readelf --relocations %t64 2>&1 | FileCheck %s -DFILE=%t64 --check-prefix=GNU
8 # LLVM-NEXT: Section (3) .rel.text {
9 # LLVM-NEXT: warning: '[[FILE]]': unable to print relocation 1 in SHT_REL section with index 3: una…
10 # LLVM-NEXT: warning: '[[FILE]]': unable to print relocation 2 in SHT_REL section with index 3: una…
11 # LLVM-NEXT: 0x2 R_X86_64_NONE - 0x0
12 # LLVM-NEXT: 0x3 R_X86_64_NONE .sec.symbol1 0x0
13 # LLVM-NEXT: warning: '[[FILE]]': invalid section index: 255
14 # LLVM-NEXT: 0x4 R_X86_64_NONE <section 255> 0x0
[all …]
Dversym-invalid.test1 ## Test how llvm-readobj/llvm-readelf tools handle invalid SHT_GNU_versym sections.
3 ## Check that we report a warning when sh_link references a non-existent section.
5 # RUN: yaml2obj --docnum=1 -DLINK=0xFF %s -o %t1
6 # RUN: llvm-readelf -V %t1 2>&1 | FileCheck -DFILE=%t1 %s --check-prefix=GNU-INVALID-LINK
7 # RUN: llvm-readobj -V %t1 2>&1 | FileCheck -DFILE=%t1 %s --check-prefix=LLVM-INVALID-LINK
9 # GNU-INVALID-LINK: Version symbols section '.gnu.version' contains 1 entries:
10 # GNU-INVALID-LINK-NEXT: warning: '[[FILE]]': invalid section linked to SHT_GNU_versym section with…
11 # GNU-INVALID-LINK-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 255 (<corrupt>)
13 # LLVM-INVALID-LINK: VersionSymbols [
14 # LLVM-INVALID-LINK-NEXT: warning: '[[FILE]]': invalid section linked to SHT_GNU_versym section wit…
[all …]
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/
Dsection-headers.yaml1 ## Check we can use "SectionHeaderTable" tag to reorder section header entries.
4 ## section without the unique prefix. The section header table describes sections
6 # RUN: yaml2obj %s --docnum=1 -o %t1 -DSEC1=".section (1)" -DSEC2=".section (2)" -DSEC3=".section.f…
7 # RUN: llvm-readelf --section-headers %t1 | FileCheck %s --check-prefix=NO-OP
9 # NO-OP: Section Headers:
10 # NO-OP-NEXT: [Nr] Name Type Address Off Size ES Flg Lk Inf Al
11 # NO-OP-NEXT: [ 0] NULL 0000000000000000 000000 000000 00 0 0 0
12 # NO-OP-NEXT: [ 1] .section PROGBITS 0000000000000000 000040 000010 00 0 0 0
13 # NO-OP-NEXT: [ 2] .section PROGBITS 0000000000000000 000050 000020 00 0 0 0
14 # NO-OP-NEXT: [ 3] .section.foo PROGBITS 0000000000000000 0000a0 000040 00 0 0 0
[all …]
Dsection-headers-exclude.yaml2 ## entries from the section header table.
4 ## Check we can use the "Excluded" key to omit a section from the section header table.
5 ## Check we do not include the name of the excluded section in the string table.
6 # RUN: yaml2obj %s -DINCLUDED=.foo -DEXCLUDED=.bar --docnum=1 -o %t1
7 # RUN: llvm-readelf --section-headers -p .shstrtab %t1 | \
8 # RUN: FileCheck %s -DSEC=.foo --check-prefixes=INCLUDE-SEC,INCLUDE-FOO
9 # RUN: yaml2obj %s -DINCLUDED=.bar -DEXCLUDED=.foo --docnum=1 -o %t2
10 # RUN: llvm-readelf --section-headers -p .shstrtab %t2 | \
11 # RUN: FileCheck %s -DSEC=.bar --check-prefixes=INCLUDE-SEC,INCLUDE-BAR
13 # INCLUDE-SEC: [Nr] Name
[all …]
Ddynamic-symbols.yaml3 # RUN: yaml2obj --docnum=1 %s -o %t1
4 # RUN: llvm-readobj --sections %t1 | FileCheck %s --check-prefix=SECTION
5 # RUN: llvm-nm --dynamic %t1 | FileCheck %s --check-prefix=SYMBOL
7 --- !ELF
13 - Name: .data
17 - Name: dynlocal
19 Section: .data
21 - Name: dynglobal
23 Section: .data
25 - Name: dynweak
[all …]
/external/llvm/test/Object/
Dreadobj-shared-object.test1 RUN: llvm-readobj -s -t -dt -dynamic-table -needed-libs \
2 RUN: %p/Inputs/shared-object-test.elf-i386 \
3 RUN: | FileCheck %s -check-prefix ELF
4 RUN: llvm-readobj -s -t -dt -dynamic-table -needed-libs \
5 RUN: %p/Inputs/shared-object-test.elf-i386 \
6 RUN: | FileCheck %s -check-prefix ELF32
8 RUN: llvm-readobj -s -t -dt -dynamic-table -needed-libs \
9 RUN: %p/Inputs/shared-object-test.elf-x86-64 \
10 RUN: | FileCheck %s -check-prefix ELF
11 RUN: llvm-readobj -s -t -dt -dynamic-table -needed-libs \
[all …]
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dshared-strtab-shstrtab.s1 # REQUIRES: x86-registered-target
3 ## It is possible for the section header table and symbol table to share the
4 ## same string table for storing section and symbol names. This test shows that
5 ## under various circumstances, the names are still correct after llvm-objcopy
6 ## has copied such an object file, and that the name table is still shared.
10 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t.o
12 # RUN: llvm-readobj --section-headers %t.o \
13 # RUN: | FileCheck %s --check-prefix=VALIDATE --implicit-check-not=.shstrtab
15 # VALIDATE: Name: .strtab
18 # RUN: llvm-objcopy %t.o %t.basic
[all …]
Dtail-merged-string-tables.test1 ## This test shows that when symbol/section names are optimized in the string
2 ## table to share the same entry, due to tail merging, llvm-objcopy operations
5 # RUN: yaml2obj %s -o %t.o
7 # RUN: llvm-readobj %t.o --string-dump .strtab --string-dump .shstrtab \
8 # RUN: | FileCheck %s --check-prefix=VALIDATE --implicit-check-not='] bar' --implicit-check-not=.…
10 # VALIDATE: String dump of section '.strtab':
11 # VALIDATE-NEXT: [ 1] bazfoobar
12 # VALIDATE-EMPTY:
13 # VALIDATE-NEXT: String dump of section '.shstrtab':
14 # VALIDATE-NEXT: [ 1] .blam.blah.blag
[all …]
/external/OpenCSD/decoder/tests/snapshots/juno_r1_1/pkt_proc_logs/
Dtrc_pkt_lister_0x14.ppl2 -----------------------------------------------
5 snapshot_parser : Start of snapshot section
6 snapshot_parser : Start of device_list section
7 snapshot_parser : Start of trace section
10 snapshot_reader : Device 1: Ini file = cpu_0.ini; Name = UNKNOWN
11 snapshot_parser : Start of device section
12 snapshot_parser : Start of regs section
13 snapshot_parser : Start of dump1 section
14 snapshot_reader : Device 2: Ini file = cpu_1.ini; Name = UNKNOWN
15 snapshot_parser : Start of device section
[all …]
Dtrc_pkt_lister_0x12.ppl2 -----------------------------------------------
5 snapshot_parser : Start of snapshot section
6 snapshot_parser : Start of device_list section
7 snapshot_parser : Start of trace section
10 snapshot_reader : Device 1: Ini file = cpu_0.ini; Name = UNKNOWN
11 snapshot_parser : Start of device section
12 snapshot_parser : Start of regs section
13 snapshot_parser : Start of dump1 section
14 snapshot_reader : Device 2: Ini file = cpu_1.ini; Name = UNKNOWN
15 snapshot_parser : Start of device section
[all …]
/external/adhd/cras/src/server/
Dcras_alsa_ucm_section.c2 * Use of this source code is governed by a BSD-style license that can be
14 static void ucm_section_free(struct ucm_section *section) in ucm_section_free() argument
16 free((void *)section->name); in ucm_section_free()
17 free((void *)section->pcm_name); in ucm_section_free()
18 free((void *)section->jack_name); in ucm_section_free()
19 free((void *)section->jack_type); in ucm_section_free()
20 free((void *)section->mixer_name); in ucm_section_free()
21 mixer_name_free(section->coupled); in ucm_section_free()
22 free(section); in ucm_section_free()
27 struct ucm_section *section; in ucm_section_free_list() local
[all …]
/external/llvm-project/llvm/test/MC/COFF/
Dsection.s1 // RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S - | FileCheck %s
2 // RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S - | FileCheck %s
4 .section .foo$bar; .long 1
5 .section .foo@bar; .long 1
6 .section ABCDEFGHIJKLMNOPQRSTUVWXYZ; .long 1
7 .section abcdefghijklmnopqrstuvwxyz; .long 1
8 .section _0123456789; .long 1
11 // CHECK: Section {
12 // CHECK: Name: .foo$bar
14 // CHECK: Section {
[all …]
Dsection-comdat.s1 // RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols - | FileCheck %s
2 // RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S --symbols - | FileCheck …
4 .section assocSec, "dr", discard, "assocSym"
9 .section secName, "dr", discard, "Symbol1"
14 .section secName, "dr", one_only, "Symbol2"
19 .section SecName, "dr", same_size, "Symbol3"
24 .section SecName, "dr", same_contents, "Symbol4"
29 .section SecName, "dr", associative, "assocSym"
34 .section SecName, "dr", largest, "Symbol6"
39 .section SecName, "dr", newest, "Symbol7"
[all …]
/external/llvm-project/llvm/test/tools/llvm-gsymutil/X86/
Delf-dwarf.yaml5 # RUN: yaml2obj %s -o %t
6 # RUN: llvm-gsymutil --convert %t -o %t.gsym 2>&1 | FileCheck %s --check-prefix=CONVERT
7 # RUN: llvm-gsymutil --address=0x400391 --address=0x4004cd %t.gsym 2>&1 | FileCheck %s --check-pref…
8 # RUN: llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose %t.gsym 2>&1 | FileCheck %s --
9 # RUN: llvm-gsymutil %t.gsym 2>&1 | FileCheck %s --check-prefix=DUMP
17 # ADDRV: [0x0000000000400390 - 0x0000000000400390) "_init"
21 # ADDRV: [0x00000000004004cd - 0x00000000004004df) "main"
36 # DUMP-NEXT: Magic = 0x4753594d
37 # DUMP-NEXT: Version = 0x0001
38 # DUMP-NEXT: AddrOffSize = 0x02
[all …]
/external/llvm-project/llvm/test/MC/ELF/
Dsection.s1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s
2 // RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s --check-prefix=ASM
6 .section .note.GNU-stack,"",@progbits
7 .section .note.GNU-stack2,"",%progbits
8 .section .note.GNU-,"",@progbits
9 .section -.note.GNU,"","progbits"
10 .section src/stack.c,"",@progbits
11 .section ~!@$%^&*()_-+={[}]|\\:<>,"",@progbits
13 // CHECK: Name: .note.GNU-stack
14 // CHECK: Name: .note.GNU-stack2
[all …]
/external/llvm-project/lld/test/COFF/
Doutput-chars.test1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj
3 # RUN: llvm-readobj --sections %t.dll | FileCheck %s
4 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /section:.foo,rwe
5 # RUN: llvm-readobj --sections %t.dll | FileCheck --check-prefix=SECTION %s
6 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar
7 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck --check-prefix=MERGE %s
8 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar /section:.foo,rwe
9 # RUN: llvm-readobj --sections %t.dll | FileCheck --check-prefix=MERGE-SECTION %s
11 # CHECK: Name: .foo
[all …]
/external/llvm/test/MC/COFF/
Dsection.s1 // RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -s | FileCheck %s
2 // RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -s | FileCheck %s
4 .section .foo$bar; .long 1
5 .section .foo@bar; .long 1
6 .section ABCDEFGHIJKLMNOPQRSTUVWXYZ; .long 1
7 .section abcdefghijklmnopqrstuvwxyz; .long 1
8 .section _0123456789; .long 1
11 // CHECK: Section {
12 // CHECK: Name: .foo$bar
14 // CHECK: Section {
[all …]
Dsection-comdat.s1 // RUN: llvm-mc -triple i386-pc-win32 -filetype=obj %s | llvm-readobj -s -t | FileCheck %s
2 // RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -s -t | FileCheck %s
4 .section assocSec, "dr", discard, "assocSym"
7 .section secName, "dr", discard, "Symbol1"
12 .section secName, "dr", one_only, "Symbol2"
17 .section SecName, "dr", same_size, "Symbol3"
22 .section SecName, "dr", same_contents, "Symbol4"
27 .section SecName, "dr", associative, "assocSym"
32 .section SecName, "dr", largest, "Symbol6"
37 .section SecName, "dr", newest, "Symbol7"
[all …]
/external/llvm-project/llvm/test/MC/AsmParser/
Dsection_names.s1 # RUN: llvm-mc -triple i386-pc-linux-gnu -filetype=obj -o %t %s
2 # RUN: llvm-readobj -S - < %t | FileCheck %s
3 .section .nobits
5 .section .nobits2
7 .section .nobitsfoo
9 .section .init_array
11 .section .init_array.42
13 .section .init_array2
15 .section .init_arrayfoo
17 .section .fini_array
[all …]
/external/llvm-project/llvm/test/MC/MachO/
Dx86_64-symbols.s1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj --symbols - | Fi…
6 .section __TEXT,__text,regular,pure_instructions
120 // .section __TEXT,__picsymbolstub4,symbol_stubs,none,16
124 .section foo, bar
132 // CHECK-NEXT: Symbol {
133 // CHECK-NEXT: Name: D0 (139)
134 // CHECK-NEXT: Type: Section (0xE)
135 // CHECK-NEXT: Section: __text (0x1)
136 // CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
137 // CHECK-NEXT: Flags [ (0x0)
[all …]
/external/llvm/test/MC/MachO/
Dx86_64-symbols.s1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
6 .section __TEXT,__text,regular,pure_instructions
120 // .section __TEXT,__picsymbolstub4,symbol_stubs,none,16
124 .section foo, bar
132 // CHECK-NEXT: Symbol {
133 // CHECK-NEXT: Name: D0 (139)
134 // CHECK-NEXT: Type: Section (0xE)
135 // CHECK-NEXT: Section: __text (0x1)
136 // CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
137 // CHECK-NEXT: Flags [ (0x0)
[all …]
/external/llvm-project/lld/test/ELF/
Dsection-layout.s2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld %t -o %tout
4 # RUN: llvm-readobj --sections %tout | FileCheck %s
12 .section t,"x",@nobits
13 .section s,"x"
14 .section r,"w",@nobits
15 .section q,"w"
16 .section p,"wx",@nobits
17 .section o,"wx"
18 .section n,"",@nobits
[all …]

12345678910>>...55