Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 3799) sorted by relevance

12345678910>>...152

/llvm-project-15.0.7/llvm/test/MC/ELF/
H A Dsection.s22 .section .init
23 .section .fini
24 .section .rodata
25 .section zed, ""
146 .section bar-"foo"
147 .section "fooo"
224 .section .text.foo
233 .section .bss
242 .section .bss.foo
251 .section .tbss
[all …]
H A Dsection-combine.s8 # CHECK: Hex dump of section '.foo':
10 # CHECK: Hex dump of section '.foo':
12 # CHECK: Hex dump of section '.foo':
14 # CHECK: Hex dump of section '.foo':
16 # CHECK: Hex dump of section '.foo':
18 # CHECK: Hex dump of section '.foo':
24 ## foo and bar are in the same section. However, a section referencing foo
26 .section .foo,"o",@progbits,foo
29 .section .foo,"o",@progbits,bar
31 .section .foo,"o",@progbits,bar
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dclang-sections-attribute.c8 #pragma clang section text=".ext_fun_pragma"
11 #pragma clang section text=""
16 #pragma clang section text=""
21 #pragma clang section text=""
26 #pragma clang section text=""
32 #pragma clang section rodata=""
37 #pragma clang section rodata=""
43 #pragma clang section data=""
48 #pragma clang section data=""
54 #pragma clang section bss=""
[all …]
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dsection.s4 .section .foo$bar; .long 1
5 .section .foo@bar; .long 1
28 .section s ; .long 1
29 .section s_, "" ; .long 1
30 .section s_a,"a"; .long 1
31 .section s_b,"b"; .long 1
32 .section s_d,"d"; .long 1
33 .section s_D,"D"; .long 1
34 .section s_n,"n"; .long 1
35 .section s_r,"r"; .long 1
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dpragma-clang-section.c3 #pragma clang section bss="" data="" rodata="" text=""
4 #pragma clang section
11 #pragma clang section section bss="mybss.2" // expected-error {{expected one of [bss|data|rodata|t…
13 #pragma clang section bss "mybss.2" // expected-error {{expected '=' following '#pragma clang sec…
14 #pragma clang section data "mydata.2" // expected-error {{expected '=' following '#pragma clang s…
15 #pragma clang section rodata "myrodata.2" // expected-error {{expected '=' following '#pragma cla…
16 #pragma clang section text "text.2" // expected-error {{expected '=' following '#pragma clang sec…
17 #pragma clang section relro "relro.2" // expected-error {{expected '=' following '#pragma clang s…
25 #pragma clang section rodata = "myrodata.4" // expected-note {{#pragma entered here}}
27 const int y __attribute__((section("myrodata.5"))) = 10; // expected-note {{declared here}}
[all …]
H A Dattr-section.c3 int x __attribute__((section(
8 int y __attribute__((section(
14 __attribute__((section("NEAR,x"))) static int n2; // ok. in test()
18 void __attribute__((section("foo,zed"))) test2(void); // expected-note {{previous attribute is here…
21 enum __attribute__((section("NEAR,x"))) e { one }; // expected-error {{'section' attribute only app…
29 int c __attribute__((section("seg1,sec1")));
34 struct r_debug _r_debug __attribute__((nocommon, section(".r_debug,bar")));
37 void test3(void) __attribute__((section("seg3,sec3"))); // expected-note {{declared here}}
41 void test4(void) __attribute__((section("seg4,sec4"))); // expected-note {{declared here}}
45 const int global_seg5sec5 __attribute__((section("seg5,sec5"))) = 10; // expected-note {{declared h…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dexplicit-section-mergeable.ll7 ; CHECK: .section .asm_mergeable1,"aMS",@progbits,2{{$}}
8 ; CHECK-NEXT: .section .asm_nonmergeable1,"a",@progbits{{$}}
12 ;; Test implicit section assignment for symbols
13 ; CHECK: .section .data,"aw",@progbits,unique,1
22 ; 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{{$}}
43 ;; Assign a mergeable global to a non-existing section.
66 ; CHECK: .section .explicit_basic,"a",@progbits{{$}}
[all …]
H A Delf-unique-sections-by-flags.ll31 define i32 @fn_s1() section "s1" {
35 ; CHECK: .section s1,"ax",@progbits{{$}}
39 define i32 @fn_s2() section "s2" {
43 ; CHECK: .section s2,"ax",@progbits{{$}}
48 define i32 @fn2_s2() section "s2" {
52 ; CHECK-NOT: .section
57 @rw_s1 = global i32 10, section "s1", align 4
67 @rw2_s1 = global i32 10, section "s1", align 4
76 ; Normal user defined section, first is the generic section, second should be unique
78 @rw_s3 = global i32 10, section "s3", align 4
[all …]
H A Delf-retain.ll14 ptr @aa, ptr @ab ], section "llvm.metadata"
17 ; OLDGAS-NOT: .section .text
31 ;; Explicit section.
35 define dso_local void @fc() section "ccc" {
40 ; CHECK: .section .bss.ga,"awR",@nobits{{$}}
55 ;; Explicit section.
59 @gd = global i32 1, section "ddd"
68 ; CHECK: .section fff,"aw",@progbits{{$}}
69 ; OLDGAS: .section fff,"aw",@progbits{{$}}
70 ; NOUNIQUE: .section fff,"aw",@progbits{{$}}
[all …]
H A Dattribute-sections.ll5 @init_array1 = global ptr @foo, section ".init_array"
6 @init_array2 = global ptr @foo, section ".init_array.00001"
7 @init_array3 = global ptr @foo, section ".init_arrayfoo"
9 ; CHECK-LABEL: .section .init_array,"aw",@init_array
11 ; CHECK-LABEL: .section .init_array.00001,"aw",@init_array
13 ; CHECK-LABEL: .section .init_arrayfoo,"aw",@progbits
16 @fini_array1 = global ptr @foo, section ".fini_array"
17 @fini_array2 = global ptr @foo, section ".fini_array.00001"
18 @fini_array3 = global ptr @foo, section ".fini_arrayfoo"
20 ; CHECK-LABEL: .section .fini_array,"aw",@fini_array
[all …]
H A Dosx-private-labels.ll8 ; CHECK: .section __TEXT,__cstring,cstring_literals
13 ; CHECK: .section __TEXT,__ustring
21 ; CHECK: .section __DATA,__cfstring
28 ; CHECK: .section __TEXT,__literal4,4byte_literals
33 ; CHECK: .section __TEXT,__literal8,8byte_literals
38 ; CHECK: .section __TEXT,__literal16,16byte_literals
59 ; CHECK: .section __DATA,__mod_init_func,mod_init_funcs
64 ; CHECK: .section __DATA,__mod_term_func,mod_term_funcs
69 ; CHECK: .section __DATA,__foobar,interposing
83 ; CHECK: .section __TEXT,__objc_methname,cstring_literals
[all …]
/llvm-project-15.0.7/llvm/test/MC/AsmParser/
H A Dsection_names.s34 .section .note
35 .section .note2
36 .section .notefoo
40 .section .rodata1
43 .section .tbss
58 .section .data1
59 .section .data2
60 .section .bss
61 .section .bss.foo
63 .section .nobits
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Dsection-layout.s12 .section t,"x",@nobits
13 .section s,"x"
15 .section q,"w"
17 .section o,"wx"
18 .section n,"",@nobits
19 .section m,""
22 .section k,"awx"
24 .section i,"aw"
26 .section e,"awT"
28 .section c,"ax"
[all …]
H A Dsection-name.s10 .section .text.a,"ax"
12 .section .text.,"ax"
14 .section .rodata.a,"a"
16 .section .rodata,"a"
18 .section .data.a,"aw"
20 .section .data,"aw"
22 .section .bss.a,"aw",@nobits
24 .section .bss,"aw",@nobits
26 .section .foo.a,"aw"
28 .section .foo,"aw"
[all …]
H A Dicf-safe.s13 # CHECK-NOT: selected section {{.*}}:(.text.f1)
14 # CHECK: selected section {{.*}}:(.text.f3)
18 # CHECK: selected section {{.*}}:(.rodata.h3)
22 # CHECK: selected section {{.*}}:(.rodata.l3)
26 # CHECK: selected section {{.*}}:(.rodata.g3)
33 # ALL: selected section {{.*}}:(.text.f3)
36 # ALL-NOT: selected section {{.*}}:(.rodata.h1)
37 # ALL: selected section {{.*}}:(.rodata.h3)
41 # ALL: selected section {{.*}}:(.rodata.l3)
45 # ALL: selected section {{.*}}:(.rodata.g3)
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-section.cpp3 int x __attribute__((section(
10 __attribute__((section("NEAR,x"))) static int n2; // ok. in test()
14 void __attribute__((section("foo"))) test2(); // expected-note {{previous attribute is here}}
15 void __attribute__((section("bar"))) test2() {} // expected-warning {{section does not match previo… in test2()
17 enum __attribute__((section("NEAR,x"))) e { one }; // expected-error {{'section' attribute only app…
25 int c __attribute__((section("foo,zed")));
30 struct r_debug _r_debug __attribute__((nocommon, section(".r_debug,bar")));
34 __attribute__((section("foo"))) virtual void f(){}; in f()
40 __attribute__((section("bar"))) void f(); // expected-note {{previous}}
42 __attribute__((section("baz"))) // expected-warning {{section does not match}}
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dsections.m39 // CHECK-COFF: @OBJC_SELECTOR_REFERENCES_ = private {{.*}}, section ".objc_selrefs$B"
41 // CHECK-COFF: @_objc_msgSend_fixup_class = {{.*}}, section ".objc_msgrefs$B"
42 // CHECK-COFF: @"_OBJC_LABEL_PROTOCOL_$_P" = {{.*}}, section ".objc_protolist$B"
44 // CHECK-COFF: @"OBJC_LABEL_CLASS_$" = private {{.*}}, section ".objc_classlist$B"
46 // CHECK-COFF: @"OBJC_LABEL_CATEGORY_$" = private {{.*}}, section ".objc_catlist$B"
52 // CHECK-ELF: @OBJC_SELECTOR_REFERENCES_ = private {{.*}}, section "objc_selrefs"
54 // CHECK-ELF: @_objc_msgSend_fixup_class = {{.*}}, section "objc_msgrefs"
55 // CHECK-ELF: @"_OBJC_LABEL_PROTOCOL_$_P" = {{.*}}, section "objc_protolist"
56 // CHECK-ELF: @"_OBJC_PROTOCOL_REFERENCE_$_P" = {{.*}}, section "objc_protorefs"
57 // CHECK-ELF: @"OBJC_LABEL_CLASS_$" = private {{.*}}, section "objc_classlist"
[all …]
/llvm-project-15.0.7/openmp/runtime/test/worksharing/sections/
H A Domp_parallel_sections_reduction.c45 #pragma omp section in test_omp_parallel_sections_reduction()
51 #pragma omp section in test_omp_parallel_sections_reduction()
57 #pragma omp section in test_omp_parallel_sections_reduction()
74 #pragma omp section in test_omp_parallel_sections_reduction()
80 #pragma omp section in test_omp_parallel_sections_reduction()
86 #pragma omp section in test_omp_parallel_sections_reduction()
106 #pragma omp section in test_omp_parallel_sections_reduction()
112 #pragma omp section in test_omp_parallel_sections_reduction()
118 #pragma omp section in test_omp_parallel_sections_reduction()
141 #pragma omp section in test_omp_parallel_sections_reduction()
[all …]
H A Domp_sections_reduction.c45 #pragma omp section in test_omp_sections_reduction()
51 #pragma omp section in test_omp_sections_reduction()
57 #pragma omp section in test_omp_sections_reduction()
76 #pragma omp section in test_omp_sections_reduction()
82 #pragma omp section in test_omp_sections_reduction()
88 #pragma omp section in test_omp_sections_reduction()
110 #pragma omp section in test_omp_sections_reduction()
116 #pragma omp section in test_omp_sections_reduction()
122 #pragma omp section in test_omp_sections_reduction()
147 #pragma omp section in test_omp_sections_reduction()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dset-section-flags.test5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc
8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load
11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload
17 # RUN: --set-section-flags=.baz=exclude --set-section-flags=.rela.baz=exclude %t %t.exclude
20 # RUN: --set-section-flags=.baz=debug --set-section-flags=.rela.baz=debug %t %t.debug
23 # RUN: --set-section-flags=.baz=code --set-section-flags=.rela.baz=code %t %t.code
26 # RUN: --set-section-flags=.baz=data --set-section-flags=.rela.baz=data %t %t.data
29 # RUN: --set-section-flags=.baz=rom --set-section-flags=.rela.baz=rom %t %t.rom
35 # RUN: --set-section-flags=.baz=merge --set-section-flags=.rela.baz=merge %t %t.merge
41 # RUN: --set-section-flags=.baz=share --set-section-flags=.rela.baz=share %t %t.share
[all …]
H A Dupdate-section.test11 ## Update the segment section with a regular chunk of data the same size as the section.
13 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.same.o | \
27 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.short.o | \
35 ## Add a new section via --add-section, then update it.
36 # RUN: llvm-objcopy --add-section=.added=%t.zeros --update-section=.added=%t.updated \
38 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.updated.o | \
42 # RUN: llvm-objcopy --update-section=.added=%t.updated --add-section=.added=%t.updated \
44 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.updated.o | \
63 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.larger.o | \
67 ## valid --update-section flag.
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/
H A Dwarn-missing-section.test8 ## - Warn for one section is found case.
13 # RUN: llvm-objdump --reloc --section=single --section=single %t.2.o 2>&1 \
17 # RUN: llvm-objdump --reloc --section=.text1 --section=.text2 %t.2.o \
21 # RUN: llvm-objdump --reloc --section=multi1 --section=multi2 %t.2.o 2>&1 \
29 # RUN: llvm-objdump --section-headers --section=single %t.2.o 2>&1 \
38 ## - Warn for one section is found case.
43 # RUN: llvm-objdump --reloc --section=.text1 %t.a \
47 # RUN: llvm-objdump --reloc --section=multi1 --section=multi2 %t.a 2>&1 \
51 # SINGLE-WARN: warning: section 'single' mentioned in a -j/--section option, but not found in any i…
52 # MULTI-WARN: warning: section 'multi1' mentioned in a -j/--section option, but not found in a…
[all …]
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dsection-headers.yaml4 ## 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…
24 - Name: .section (1)
27 - Name: .section (2)
34 - Name: .section.foo
46 # RUN: yaml2obj %s -o %t2 -DSEC3=".section (1)" -DSEC2=".section (2)" -DSEC1=".section.foo"
69 # ERR1: error: repeated section name: '.section.foo' in the section header description
72 # ERR1-NEXT: error: section header contains undefined section 'unknown'
161 ## Check we placed the section header table before the .foo section.
314 ## 0x140 == Start of section headers (64) + Size of section headers (64) * Number of section header…
[all …]
/llvm-project-15.0.7/openmp/runtime/tools/
H A Dmessage-converter.pl137 my $section;
154 $section = ( lc( $1 ) );
164 if ( not defined( $section ) ) {
168 if ( $section eq "meta" ) {
225 foreach my $section ( @sections ) {
227 $data->{ $section } = [];
258 foreach my $section ( @sections ) {
294 foreach my $section ( @sections ) {
321 foreach my $section ( @sections ) {
348 foreach my $section ( @sections ) {
[all …]
/llvm-project-15.0.7/libc/src/stdio/printf_core/
H A Dparser.cpp30 FormatSection section; in get_next_section() local
35 section.has_conv = true; in get_next_section()
47 section.min_width = 0; in get_next_section()
54 section.min_width = in get_next_section()
58 if (section.min_width < 0) { in get_next_section()
59 section.min_width = -section.min_width; in get_next_section()
60 section.flags = in get_next_section()
77 section.precision = in get_next_section()
134 section.conv_val_raw = in get_next_section()
156 section.has_conv = false; in get_next_section()
[all …]

12345678910>>...152