Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching refs:section

59 #pragma section("read_flag_section", read)
61 // in a read-only section.
66 #pragma section("no_section_attributes")
67 // A pragma section with no section attributes is read/write.
70 #pragma section("long_section", long)
71 // Pragma section ignores "long".
74 #pragma section("short_section", short)
75 // Pragma section ignores "short".
80 //CHECK: @a = global i32 1, section ".data"
81 //CHECK: @b = constant i32 1, section ".my_const"
83 //CHECK: @s = global i8* getelementptr inbounds ([11 x i8], [11 x i8]* @[[MYSTR]], i32 0, i32 0), section ".data2"
84 //CHECK: @c = global i32 1, section ".my_seg"
85 //CHECK: @d = global i32 1, section ".data"
86 //CHECK: @e = global i32 0, section ".my_bss"
87 //CHECK: @f = global i32 0, section ".c"
90 //CHECK: @TEST2 = global i32 0, section ".bss1"
91 //CHECK: @TEST3 = global i32 0, section ".bss1"
92 //CHECK: @d2 = global i32 1, section ".data"
93 //CHECK: @b2 = constant i32 1, section ".my_const"
94 //CHECK: @unreferenced = constant i32 0, section "read_flag_section"
95 //CHECK: @referenced = constant i32 42, section "read_flag_section"
96 //CHECK: @implicitly_read_write = global i32 42, section "no_section_attributes"
97 //CHECK: @long_var = global i32 42, section "long_section"
98 //CHECK: @short_var = global i16 42, section "short_section"
100 //CHECK: define void @h() {{.*}} section ".my_code"
101 //CHECK: define void @h2() {{.*}} section ".my_code"