Home
last modified time | relevance | path

Searched refs:rodata (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dlinkorder.s8 # RUN: llvm-readelf -S -x .rodata -x .text %t | FileCheck %s
10 # CHECK: [ 1] .rodata {{.*}} AL 3
20 # RUN: llvm-readelf -S -x .rodata -x .text %t1 | FileCheck --check-prefix=CHECK1 %s
22 # CHECK1: [ 1] .rodata {{.*}} AL 3
32 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) *(.rodata.bar)} }' > %t2.lds
39 # CHECK2: Hex dump of section '.rodata':
43 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) BYTE(0) *(.rodata.bar)} }' > %t3.lds
50 # CHECK3: Hex dump of section '.rodata':
54 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) *(.text) *(.rodata.bar)} }' > %t4.lds
58 # CHECK4: Hex dump of section '.rodata':
[all …]
H A Dmerge-output-sections.s7 # RUN: llvm-readelf -x .rodata %t | FileCheck --check-prefix=SAME %s --implicit-check-not=section
18 # RUN: llvm-readelf -x .rodata.foo -x .rodata.bar %t2 | FileCheck --check-prefix=DIFF %s --implicit…
25 .section .rodata.foo,"aM",@progbits,2,unique,0
28 .section .rodata.foo,"aM",@progbits,2,unique,1
32 .section .rodata.bar,"aM",@progbits,2,unique,0
34 .section .rodata.bar,"aM",@progbits,2,unique,1
H A Dmemory-attr.test12 .rodata
26 # TEST1-NEXT: .rodata PROGBITS 0000000000002008
40 .rodata : { *(.rodata) }
53 # TEST2-NEXT: .rodata PROGBITS 0000000000003000
58 ## While all sections are allocatable, '.text' and '.rodata' are read-only and
63 ## Executable sections are not allowed here, so only '.rodata' should be
73 .rodata : { *(.rodata) }
H A Dppc32-got2.s16 # SEC-NEXT: .rodata PROGBITS 00000198
18 ## .got2+0x8000-0xb0 = .rodata+4+0x8000-0xb0 = 0x198+4+0x8000-0xb0 = 65536*1-32532
26 ## &.got[2] - (.got2+0x8000) = &.got[2] - (.rodata+4+0x8000) = 0x1A4 - (0x198+4+0x8000) = -32760
34 .section .rodata.cst4,"aM",@progbits,4
58 .rodata : { *(.rodata .rodata.*) *(.got2) }
/llvm-project-15.0.7/lld/test/ELF/
H A Dicf-safe.s17 # CHECK-NOT: selected section {{.*}}:(.rodata.h1)
18 # CHECK: selected section {{.*}}:(.rodata.h3)
21 # CHECK-NOT: selected section {{.*}}:(.rodata.l1)
22 # CHECK: selected section {{.*}}:(.rodata.l3)
26 # CHECK: selected section {{.*}}:(.rodata.g3)
36 # ALL-NOT: selected section {{.*}}:(.rodata.h1)
37 # ALL: selected section {{.*}}:(.rodata.h3)
40 # ALL-NOT: selected section {{.*}}:(.rodata.l1)
41 # ALL: selected section {{.*}}:(.rodata.l3)
44 # ALL-NOT: selected section {{.*}}:(.rodata.g1)
[all …]
H A Dicf9.s8 # SEC: .rodata PROGBITS 0000000000200120 000120 000002 00 A 0 0 1
10 # CHECK-NOT: selected section {{.*}}:(.rodata.d1)
11 # CHECK-NOT: selected section {{.*}}:(.rodata.d2)
13 # We do merge rodata if passed --icf-data
18 # DATA: selected section {{.*}}:(.rodata.d1)
19 # DATA: removing identical section {{.*}}:(.rodata.d2)
21 # DATA-SEC: .rodata PROGBITS 0000000000200120 000120 000001 00 A 0 0 1
27 .section .rodata.d1, "a"
31 .section .rodata.d2, "a"
H A Dmerge-string-align2.s6 # RUN: llvm-readelf -x .rodata %t | FileCheck %s
9 # SEC: .rodata PROGBITS {{.*}} 000006 01 AMS 0 0 8
15 .section .rodata.str1.8,"aMS",@progbits,1
19 .section .rodata.str1.2,"aMS",@progbits,1
23 .section .rodata.str1.1,"aMS",@progbits,1
H A Daarch64-adrp-add.s55 ## .rodata and .text are close to each other,
60 .rodata 0x1000: { *(.rodata) }
64 ## .rodata and .text are far apart,
69 .rodata 0x1000: { *(.rodata) }
73 ## .rodata and .text are close to each other,
79 .rodata 0x101003: { *(.rodata) }
82 ## .rodata and .text are far apart,
88 .rodata 0x101004: { *(.rodata) }
92 .rodata
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/
H A Dkernel-arm64.yaml15 - Name: .rodata
39 Section: .rodata
45 Section: .rodata
51 Section: .rodata
57 Section: .rodata
63 Section: .rodata
69 Section: .rodata
75 Section: .rodata
81 Section: .rodata
87 Section: .rodata
[all …]
H A Dkernel-i386.yaml17 - Name: .rodata
47 Section: .rodata
53 Section: .rodata
59 Section: .rodata
65 Section: .rodata
71 Section: .rodata
77 Section: .rodata
83 Section: .rodata
89 Section: .rodata
95 Section: .rodata
[all …]
H A Dkernel-amd64.yaml17 - Name: .rodata
47 Section: .rodata
53 Section: .rodata
59 Section: .rodata
65 Section: .rodata
71 Section: .rodata
77 Section: .rodata
83 Section: .rodata
89 Section: .rodata
95 Section: .rodata
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dpragma-clang-section.c2 #pragma clang section bss = "mybss.1" data = "mydata.1" rodata = "myrodata.1" text = "mytext.1" // …
3 #pragma clang section bss="" data="" rodata="" text=""
15 #pragma clang section rodata "myrodata.2" // expected-error {{expected '=' following '#pragma cla…
18 #pragma clang section bss="" data="" rodata="" text="" more //expected-error {{expected one of [bss…
21 #pragma clang section rodata = "mydata.1" // expected-error {{this causes a section ty…
25 #pragma clang section rodata = "myrodata.4" // expected-note {{#pragma entered here}}
H A Dpragma-clang-section-macho.c3 #pragma clang section bss = "" data = "" rodata = "" text = ""
4 #pragma clang section bss = "" data = "" rodata = "" text = "__TEXT,__text"
5 #pragma clang section bss = "" data = "" rodata = "" text = "badname" // expe…
6 #pragma clang section bss = "" data = "" rodata = "" text = "__TEXT,__namethatiswaytoolong" // expe…
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Drelptr-rodata.ll8 ; CHECK: .section .rodata.rodata
9 ; CHECK: rodata:
10 ; CHECK: .long hidden-rodata
11 @rodata = hidden constant i32 trunc (i64 sub (i64 ptrtoint (ptr @hidden to i64), i64 ptrtoint (ptr …
23 ; CHECK: .section .rodata.obj
38 ; CHECK: .section .rodata.rodata2
H A Dglobal-sections-comdat.ll29 ; LINUX-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat
34 ; LINUX-SECTIONS-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat
39 ; LINUX-SECTIONS-SHORT-NEXT: .section .rodata,"aG",@progbits,F1,comdat
44 ; LINUX: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat
45 ; LINUX-SECTIONS: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat
46 ; LINUX-SECTIONS-SHORT: .section .rodata.cst4,"aGM",@progbits,4,G16,comdat
H A Dexplicit-section-mergeable.ll22 ; CHECK: .section .rodata,"a",@progbits,unique,2
24 ; CHECK: .section .rodata.cst4,"aM",@progbits,4{{$}}
26 ; CHECK: .section .rodata.cst8,"aM",@progbits,8{{$}}
28 ; CHECK: .section .rodata.str4.4,"aMS",@progbits,4{{$}}
92 ; CHECK: .section .rodata.cst16,"a",@progbits,unique,7
98 ; CHECK: .section .rodata.cst16,"aM",@progbits,16{{$}}
209 ; CHECK: .section .rodata.str1.1,"aMS",@progbits,1{{$}}
217 ; CHECK: .section .rodata.str1.1,"a",@progbits,unique,[[#U+17]]
223 ; CHECK: .section .rodata.str1.1,"aMS",@progbits,1{{$}}
225 ; CHECK: .section .rodata.str1.1,"a",@progbits,unique,[[#U+17]]
[all …]
H A Dglobal-sections.ll40 ; LINUX-NEX: .section .rodata,"a",@progbits
45 ; LINUX-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits
135 ; LINUX: .section .rodata,"a",@progbits
138 ; LINUX-SECTIONS: .section .rodata.G3,"a",@progbits
208 ; LINUX: .section .rodata.str1.1,"aMS",@progbits,1
226 ; LINUX: .section .rodata.str2.2,"aMS",@progbits,2
235 ; LINUX: .section .rodata.str4.4,"aMS",@progbits,4
286 ; LINUX: .section .rodata.cst8,"aM",@progbits,8
298 ; LINUX-SECTIONS: .section .rodata.cst8,"aM",@progbits,8
306 ; LINUX: .section .rodata.cst32,"aM",@progbits,32
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/X86/
H A Dsection-filter-relocs.test7 # RUN: llvm-objdump -d -r %t.o --section=.text --section=.rodata \
16 # DISASM: Disassembly of section .rodata:
18 # DISASM-NEXT: 0000000000000000 <.rodata>:
64 - Name: .rodata
68 - Name: .rela.rodata
70 Info: .rodata
79 # RUN: llvm-objdump -r %t.o --section=.another.rela.text --section=.rela.rodata \
85 # DUMP-RELOCS: RELOCATION RECORDS FOR [.rodata]:
92 # RUN: --implicit-check-not=.rodata
H A Delf-disassemble-relocs-exec.test8 # CHECK-NEXT: 0000000000400002: R_X86_64_32 .rodata
23 LastSec: .rodata
32 - Name: .rodata
44 Symbol: .rodata
52 - Name: .rodata
54 Section: .rodata
H A Ddisassemble-zeroes-relocations.test6 # CHECK: 0000000000000000 .rodata:
21 # SKIP: 0000000000000000 <.rodata>:
24 # SKIP-NEXT: Disassembly of section .rela.rodata:
33 - Name: .rodata
38 - Name: .rela.rodata
44 Info: .rodata
H A Dsection-filter-disasm.test8 # RUN: --implicit-check-not=.rodata --implicit-check-not=.data
10 # RUN: llvm-objdump -d %t.o --section=.rodata \
14 # RUN: llvm-objdump -d %t.o --section=.rodata --section=.text \
18 # RUN: llvm-objdump -d %t.o --section=.rodata --section=.text --section=.data \
21 # RODATA: Disassembly of section .rodata
32 - Name: .rodata
/llvm-project-15.0.7/llvm/test/Object/Mips/
H A Delf-mips64-rel.yaml9 # OBJ-NEXT: 0x20 R_MIPS_GOT_PAGE/R_MIPS_NONE/R_MIPS_NONE .rodata 0x0
10 # OBJ-NEXT: 0x24 R_MIPS_GOT_OFST/R_MIPS_NONE/R_MIPS_NONE .rodata 0x0
30 # YAML-NEXT: Symbol: .rodata
33 # YAML-NEXT: Symbol: .rodata
77 Symbol: .rodata
81 Symbol: .rodata
94 - Name: .rodata
104 - Name: .rodata
106 Section: .rodata
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dclang-sections.cpp9 #pragma clang section bss = "__BSS,__mybss1" data = "__DATA,__mydata1" rodata = "__RODATA,__myrodat…
12 #pragma clang section bss="my_bss.1" data="my_data.1" rodata="my_rodata.1"
43 #pragma clang section rodata = "__RODATA,__myrodata2" data = "__DATA,__mydata2" relro = "__RELRO,__…
45 #pragma clang section rodata="my_rodata.2" data="my_data.2" relro="my_relro.2"
53 #pragma clang section rodata="" data="" bss="" text=""
/llvm-project-15.0.7/bolt/test/X86/Inputs/
H A Dexc_args.s122 .section .rodata
186 .section .rodata
358 .section .rodata._ZTI4ExcF,"aG",@progbits,_ZTI4ExcF,comdat
366 .section .rodata._ZTS4ExcF,"aG",@progbits,_ZTS4ExcF,comdat
372 .section .rodata._ZTI4ExcE,"aG",@progbits,_ZTI4ExcE,comdat
380 .section .rodata._ZTS4ExcE,"aG",@progbits,_ZTS4ExcE,comdat
386 .section .rodata._ZTI4ExcD,"aG",@progbits,_ZTI4ExcD,comdat
394 .section .rodata._ZTS4ExcD,"aG",@progbits,_ZTS4ExcD,comdat
400 .section .rodata._ZTI4ExcB,"aG",@progbits,_ZTI4ExcB,comdat
408 .section .rodata._ZTS4ExcB,"aG",@progbits,_ZTS4ExcB,comdat
[all …]
H A Dexc4sw.S92 .section .rodata.str1.8,"aMS",@progbits,1
153 .section .rodata.str1.1,"aMS",@progbits,1
397 .section .rodata._ZTI4ExcG,"aG",@progbits,_ZTI4ExcG,comdat
405 .section .rodata._ZTS4ExcG,"aG",@progbits,_ZTS4ExcG,comdat
411 .section .rodata._ZTI4ExcC,"aG",@progbits,_ZTI4ExcC,comdat
419 .section .rodata._ZTS4ExcC,"aG",@progbits,_ZTS4ExcC,comdat
425 .section .rodata._ZTI4ExcA,"aG",@progbits,_ZTI4ExcA,comdat
433 .section .rodata._ZTS4ExcA,"aG",@progbits,_ZTS4ExcA,comdat
439 .section .rodata._ZTI4ExcB,"aG",@progbits,_ZTI4ExcB,comdat
447 .section .rodata._ZTS4ExcB,"aG",@progbits,_ZTS4ExcB,comdat
[all …]

12345678910>>...13