[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / dwarf5-str-offsets-base-strx.test
blob4e6c66670da654c22f135b2cdfd5a973c81fd4f8
1 ; This test checks to ensure that if three DWARFv5 object files have correct values for the DW_AT_str_offsets_base and DW_FORM_strx for strings in their compile units.
2 ; DWARFLinkerParallel specific : DWARFLinkerParallel uses .debug_str_offsets
3 ; table local to the compile unit. That leads to different string indexes.
4 ; In such cases test contains both variants for indexes value:
5 ; (indexed (0000000{{9|1}}) string = "b.cpp".
7 ; 1.o was produced with the source file:
9 ; a.cpp
10 ; __attribute__((section("1,__text_foo"))) void foo() {}
11
12 ; int foo2(int a) {
13 ;     return a+5;
14 ; }
15
16 ; int foo3(int x) {
17 ;     return x+2;
18 ; }
19
20 ; int main () {
21 ;     return 1;
22 ; }
24 ; clang -g -c -O1 a.cpp -gdwarf-5 -o 1.o
26 ; 2.o was produced with the following source file:
28 ; b.cpp
29 ; __attribute__((section("1,__text_foo"))) void bar() {}
30
31 ; int bar2(int a) {
32 ;     return a+5;
33 ; }
34
35 ; int bar3(int x) {
36 ;     return x+2;
37 ; }
39 ; clang -g -c -O1 b.cpp -gdwarf-5 -o 2.o
41 ; 3.o was produced with the following source file:
43 ; c.cpp
44
45 ; int baz(int x) {
46 ;     return x+2;
47 ; }
49 ; clang -g -c -O1 c.cpp -gdwarf-5 -o 3.o
52 RUN: rm -rf %t.dir && mkdir -p %t.dir
53 RUN: dsymutil -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base -o %t.dir/dwarf5-addr-base.dSYM
54 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefixes=CHECK,GLOBAL
56 RUN: dsymutil --update -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base -o %t.dir/dwarf5-addr-base.dSYM
57 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefixes=UPD,GLOBALUPD
59 RUN: rm -rf %t.dir && mkdir -p %t.dir
60 RUN: dsymutil --linker parallel --no-odr -y %p/dummy-debug-map-amr64.map \
61 RUN:   -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
62 RUN:   -o %t.dir/dwarf5-addr-base.dSYM
63 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
64 RUN:   FileCheck %s --check-prefixes=CHECK,LOCAL
66 RUN: rm -rf %t.dir && mkdir -p %t.dir
67 RUN: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
68 RUN:   -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
69 RUN:   -o %t.dir/dwarf5-addr-base.dSYM
70 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
71 RUN:   FileCheck %s --check-prefixes=CHECK,LOCAL,CHECK-LLVM
73 RUN: dsymutil --linker parallel --no-odr --update -y %p/dummy-debug-map-amr64.map \
74 RUN:   -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
75 RUN:   -o %t.dir/dwarf5-addr-base.dSYM
76 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
77 RUN:   FileCheck %s --check-prefixes=UPD,LOCALUPD
79 RUN: dsymutil --linker parallel --update -y %p/dummy-debug-map-amr64.map \
80 RUN:   -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
81 RUN:   -o %t.dir/dwarf5-addr-base.dSYM
82 RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
83 RUN:   FileCheck %s --check-prefixes=UPD,LOCALUPD
86 CHECK: .debug_info contents:
87 CHECK-LLVM: Compile Unit: length = 0x0000001f, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08
88 CHECK-LLVM: DW_TAG_compile_unit
89 CHECK-LLVM: DW_TAG_base_type
90 CHECK: Compile Unit: length = 0x0000004a, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08
92 CHECK: DW_TAG_compile_unit
93 CHECK:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
94 CHECK:               DW_AT_name [DW_FORM_strx] (indexed (00000001) string = "a.cpp")
95 CHECK:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
96 CHECK:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
97 CHECK:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x00000008)
98 CHECK:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
100 CHECK:   DW_TAG_subprogram
101 CHECK:                 DW_AT_low_pc [DW_FORM_addrx]    (indexed (00000000) address = 0x0000000000010000)
102 CHECK:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (00000005) string = "_Z4foo2i")
103 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (00000006) string = "foo2")
105 CHECK:     DW_TAG_formal_parameter
106 CHECK:                   DW_AT_name [DW_FORM_strx]     (indexed (00000007) string = "a")
108 CHECK:     NULL
110 CHECK:   DW_TAG_base_type
111 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (00000008) string = "int")
113 CHECK: NULL
115 CHECK: Compile Unit: length = 0x0000004a, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08
117 CHECK: DW_TAG_compile_unit
118 CHECK:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
119 CHECK:               DW_AT_name [DW_FORM_strx] (indexed (0000000{{9|1}}) string = "b.cpp")
120 CHECK:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
121 CHECK:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
122 CHECK:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x000000{{08|34}})
123 CHECK:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
125 CHECK:   DW_TAG_subprogram
126 CHECK:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (0000000{{a|5}}) string = "_Z4bar2i")
127 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000{{b|6}}) string = "bar2")
129 CHECK:     DW_TAG_formal_parameter
130 CHECK:                   DW_AT_name [DW_FORM_strx]     (indexed (00000007) string = "a")
132 CHECK:     NULL
134 CHECK:   DW_TAG_base_type
135 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (00000008) string = "int")
137 CHECK:   NULL
139 CHECK: Compile Unit: length = 0x00000043, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08
141 CHECK: DW_TAG_compile_unit
142 CHECK:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
143 CHECK:               DW_AT_name [DW_FORM_strx] (indexed (0000000{{c|1}}) string = "c.cpp")
144 CHECK:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
145 CHECK:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
146 CHECK:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x000000{{08|60}})
147 CHECK:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
149 CHECK:   DW_TAG_subprogram
150 CHECK:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (0000000{{d|5}}) string = "_Z3bazi")
151 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000{{e|6}}) string = "baz")
153 CHECK:     DW_TAG_formal_parameter
154 CHECK:                   DW_AT_name [DW_FORM_strx]     (indexed (0000000{{f|7}}) string = "x")
156 CHECK:     NULL
158 CHECK:   DW_TAG_base_type
159 CHECK:                 DW_AT_name [DW_FORM_strx]       (indexed (00000008) string = "int")
161 CHECK:    NULL
163 CHECK: .debug_str contents:
164 CHECK-NEXT: 0x00000000: ""
165 CHECK-NEXT: 0x00000001: "Apple clang version 15.0.0 (clang-1500.0.31.1)"
166 CHECK-NEXT: 0x00000030: "a.cpp"
167 CHECK-NEXT: 0x00000036: "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
168 CHECK-NEXT: 0x000000b7: "MacOSX14.0.sdk"
169 CHECK-NEXT: 0x000000c6: "/Users/shubham/Development/test109275485"
170 CHECK-NEXT: 0x000000ef: "_Z4foo2i"
171 CHECK-NEXT: 0x000000f8: "foo2"
172 CHECK-NEXT: 0x000000fd: "a"
173 CHECK-NEXT: 0x000000ff: "int"
174 CHECK-NEXT: 0x00000103: "b.cpp"
175 CHECK-NEXT: 0x00000109: "_Z4bar2i"
176 CHECK-NEXT: 0x00000112: "bar2"
177 CHECK-NEXT: 0x00000117: "c.cpp"
178 CHECK-NEXT: 0x0000011d: "_Z3bazi"
179 CHECK-NEXT: 0x00000125: "baz"
180 CHECK-NEXT: 0x00000129: "x"
182 GLOBAL: .debug_str_offsets contents:
183 GLOBAL-NEXT: 0x00000000: Contribution size = 68, Format = DWARF32, Version = 5
184 GLOBAL-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
185 GLOBAL-NEXT: 0x0000000c: 00000030 "a.cpp"
186 GLOBAL-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
187 GLOBAL-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"
188 GLOBAL-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"
189 GLOBAL-NEXT: 0x0000001c: 000000ef "_Z4foo2i"
190 GLOBAL-NEXT: 0x00000020: 000000f8 "foo2"
191 GLOBAL-NEXT: 0x00000024: 000000fd "a"
192 GLOBAL-NEXT: 0x00000028: 000000ff "int"
193 GLOBAL-NEXT: 0x0000002c: 00000103 "b.cpp"
194 GLOBAL-NEXT: 0x00000030: 00000109 "_Z4bar2i"
195 GLOBAL-NEXT: 0x00000034: 00000112 "bar2"
196 GLOBAL-NEXT: 0x00000038: 00000117 "c.cpp"
197 GLOBAL-NEXT: 0x0000003c: 0000011d "_Z3bazi"
198 GLOBAL-NEXT: 0x00000040: 00000125 "baz"
199 GLOBAL-NEXT: 0x00000044: 00000129 "x"
201 LOCAL: .debug_str_offsets contents:
202 LOCAL-NEXT: 0x00000000: Contribution size = 40, Format = DWARF32, Version = 5
203 LOCAL-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
204 LOCAL-NEXT: 0x0000000c: 00000030 "a.cpp"
205 LOCAL-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
206 LOCAL-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"
207 LOCAL-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"
208 LOCAL-NEXT: 0x0000001c: 000000ef "_Z4foo2i"
209 LOCAL-NEXT: 0x00000020: 000000f8 "foo2"
210 LOCAL-NEXT: 0x00000024: 000000fd "a"
211 LOCAL-NEXT: 0x00000028: 000000ff "int"
212 LOCAL-NEXT: 0x0000002c: Contribution size = 40, Format = DWARF32, Version = 5
213 LOCAL-NEXT: 0x00000034: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
214 LOCAL-NEXT: 0x00000038: 00000103 "b.cpp"
215 LOCAL-NEXT: 0x0000003c: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
216 LOCAL-NEXT: 0x00000040: 000000b7 "MacOSX14.0.sdk"
217 LOCAL-NEXT: 0x00000044: 000000c6 "/Users/shubham/Development/test109275485"
218 LOCAL-NEXT: 0x00000048: 00000109 "_Z4bar2i"
219 LOCAL-NEXT: 0x0000004c: 00000112 "bar2"
220 LOCAL-NEXT: 0x00000050: 000000fd "a"
221 LOCAL-NEXT: 0x00000054: 000000ff "int"
222 LOCAL-NEXT: 0x00000058: Contribution size = 40, Format = DWARF32, Version = 5
223 LOCAL-NEXT: 0x00000060: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
224 LOCAL-NEXT: 0x00000064: 00000117 "c.cpp"
225 LOCAL-NEXT: 0x00000068: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
226 LOCAL-NEXT: 0x0000006c: 000000b7 "MacOSX14.0.sdk"
227 LOCAL-NEXT: 0x00000070: 000000c6 "/Users/shubham/Development/test109275485"
228 LOCAL-NEXT: 0x00000074: 0000011d "_Z3bazi"
229 LOCAL-NEXT: 0x00000078: 00000125 "baz"
230 LOCAL-NEXT: 0x0000007c: 00000129 "x"
231 LOCAL-NEXT: 0x00000080: 000000ff "int"
234 UPD: .debug_info contents:
235 UPD: 0x00000000: Compile Unit: length = 0x00000081, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x00000085)
237 UPD: 0x0000000c: DW_TAG_compile_unit [1] *
238 UPD:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
239 UPD:               DW_AT_name [DW_FORM_strx] (indexed (00000001) string = "a.cpp")
240 UPD:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
241 UPD:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
242 UPD:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x00000008)
243 UPD:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
245 UPD: 0x00000031:   DW_TAG_subprogram [2]   (0x0000000c)
246 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (00000005) string = "_Z3foov")
247 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (00000006) string = "foo")
249 UPD: 0x0000003d:   DW_TAG_subprogram [3] * (0x0000000c)
250 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (00000007) string = "_Z4foo2i")
251 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (00000008) string = "foo2")
253 UPD: 0x0000004d:     DW_TAG_formal_parameter [4]   (0x0000003d)
254 UPD:                   DW_AT_name [DW_FORM_strx]     (indexed (00000009) string = "a")
256 UPD: 0x00000056:     NULL
258 UPD: 0x00000057:   DW_TAG_subprogram [3] * (0x0000000c)
259 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (0000000a) string = "_Z4foo3i")
260 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000b) string = "foo3")
262 UPD: 0x00000067:     DW_TAG_formal_parameter [4]   (0x00000057)
263 UPD:                   DW_AT_name [DW_FORM_strx]     (indexed (0000000c) string = "x")
265 UPD: 0x00000070:     NULL
267 UPD: 0x00000071:   DW_TAG_subprogram [5]   (0x0000000c)
268 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000d) string = "main")
270 UPD: 0x00000080:   DW_TAG_base_type [6]   (0x0000000c)
271 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000e) string = "int")
273 UPD: 0x00000084:   NULL
275 UPD: 0x00000085: Compile Unit: length = 0x00000072, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x00{{00|99}}, addr_size = 0x08 (next unit at 0x000000fb)
277 UPD: 0x00000091: DW_TAG_compile_unit [1] *
278 UPD:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
279 UPD:               DW_AT_name [DW_FORM_strx] (indexed (0000000{{f|1}}) string = "b.cpp")
280 UPD:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
281 UPD:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
282 UPD:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x000000{{08|4c}})
283 UPD:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
285 UPD: 0x000000b6:   DW_TAG_subprogram [2]   (0x00000091)
286 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (000000{{10|05}}) string = "_Z3barv")
287 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (000000{{11|06}}) string = "bar")
289 UPD: 0x000000c2:   DW_TAG_subprogram [3] * (0x00000091)
290 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (000000{{12|07}}) string = "_Z4bar2i")
291 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (000000{{13|08}}) string = "bar2")
293 UPD: 0x000000d2:     DW_TAG_formal_parameter [4]   (0x000000c2)
294 UPD:                   DW_AT_name [DW_FORM_strx]     (indexed (00000009) string = "a")
296 UPD: 0x000000db:     NULL
298 UPD: 0x000000dc:   DW_TAG_subprogram [3] * (0x00000091)
299 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (000000{{14|0a}}) string = "_Z4bar3i")
300 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (000000{{15|0b}}) string = "bar3")
302 UPD: 0x000000ec:     DW_TAG_formal_parameter [4]   (0x000000dc)
303 UPD:                   DW_AT_name [DW_FORM_strx]     (indexed (0000000c) string = "x")
305 UPD: 0x000000f5:     NULL
307 UPD: 0x000000f6:   DW_TAG_base_type {{.*}}   (0x00000091)
308 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000{{e|d}}) string = "int")
310 UPD: 0x000000fa:   NULL
312 UPD: 0x000000fb: Compile Unit: length = 0x00000044, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0{{000|115}}, addr_size = 0x08 (next unit at 0x00000143)
314 UPD: 0x00000107: DW_TAG_compile_unit {{.*}} *
315 UPD:               DW_AT_producer [DW_FORM_strx]     (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")
316 UPD:               DW_AT_name [DW_FORM_strx] (indexed (000000{{16|01}}) string = "c.cpp")
317 UPD:               DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk")
318 UPD:               DW_AT_APPLE_sdk [DW_FORM_strx]    (indexed (00000003) string = "MacOSX14.0.sdk")
319 UPD:               DW_AT_str_offsets_base [DW_FORM_sec_offset]       (0x000000{{08|8c}})
320 UPD:               DW_AT_comp_dir [DW_FORM_strx]     (indexed (00000004) string = "/Users/shubham/Development/test109275485")
322 UPD: 0x00000124:   DW_TAG_subprogram {{.*}} * (0x00000107)
323 UPD:                 DW_AT_linkage_name [DW_FORM_strx]       (indexed (000000{{17|05}}) string = "_Z3bazi")
324 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (000000{{18|06}}) string = "baz")
326 UPD: 0x00000134:     DW_TAG_formal_parameter {{.*}}   (0x00000124)
327 UPD:                   DW_AT_name [DW_FORM_strx]     (indexed (0000000{{c|7}}) string = "x")
329 UPD: 0x0000013d:     NULL
331 UPD: 0x0000013e:   DW_TAG_base_type {{.*}}   (0x00000107)
332 UPD:                 DW_AT_name [DW_FORM_strx]       (indexed (0000000{{e|8}}) string = "int")
334 UPD: 0x00000142:   NULL
336 UPD: .debug_str contents:
337 UPD-NEXT: 0x00000000: ""
338 UPD-NEXT: 0x00000001: "Apple clang version 15.0.0 (clang-1500.0.31.1)"
339 UPD-NEXT: 0x00000030: "a.cpp"
340 UPD-NEXT: 0x00000036: "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
341 UPD-NEXT: 0x000000b7: "MacOSX14.0.sdk"
342 UPD-NEXT: 0x000000c6: "/Users/shubham/Development/test109275485"
343 UPD-NEXT: 0x000000ef: "_Z3foov"
344 UPD-NEXT: 0x000000f7: "foo"
345 UPD-NEXT: 0x000000fb: "_Z4foo2i"
346 UPD-NEXT: 0x00000104: "foo2"
347 UPD-NEXT: 0x00000109: "a"
348 UPD-NEXT: 0x0000010b: "_Z4foo3i"
349 UPD-NEXT: 0x00000114: "foo3"
350 UPD-NEXT: 0x00000119: "x"
351 UPD-NEXT: 0x0000011b: "main"
352 UPD-NEXT: 0x00000120: "int"
353 UPD-NEXT: 0x00000124: "b.cpp"
354 UPD-NEXT: 0x0000012a: "_Z3barv"
355 UPD-NEXT: 0x00000132: "bar"
356 UPD-NEXT: 0x00000136: "_Z4bar2i"
357 UPD-NEXT: 0x0000013f: "bar2"
358 UPD-NEXT: 0x00000144: "_Z4bar3i"
359 UPD-NEXT: 0x0000014d: "bar3"
360 UPD-NEXT: 0x00000152: "c.cpp"
361 UPD-NEXT: 0x00000158: "_Z3bazi"
362 UPD-NEXT: 0x00000160: "baz"
364 GLOBALUPD: .debug_str_offsets contents:
365 GLOBALUPD-NEXT: 0x00000000: Contribution size = 104, Format = DWARF32, Version = 5
366 GLOBALUPD-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
367 GLOBALUPD-NEXT: 0x0000000c: 00000030 "a.cpp"
368 GLOBALUPD-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
369 GLOBALUPD-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"
370 GLOBALUPD-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"
371 GLOBALUPD-NEXT: 0x0000001c: 000000ef "_Z3foov"
372 GLOBALUPD-NEXT: 0x00000020: 000000f7 "foo"
373 GLOBALUPD-NEXT: 0x00000024: 000000fb "_Z4foo2i"
374 GLOBALUPD-NEXT: 0x00000028: 00000104 "foo2"
375 GLOBALUPD-NEXT: 0x0000002c: 00000109 "a"
376 GLOBALUPD-NEXT: 0x00000030: 0000010b "_Z4foo3i"
377 GLOBALUPD-NEXT: 0x00000034: 00000114 "foo3"
378 GLOBALUPD-NEXT: 0x00000038: 00000119 "x"
379 GLOBALUPD-NEXT: 0x0000003c: 0000011b "main"
380 GLOBALUPD-NEXT: 0x00000040: 00000120 "int"
381 GLOBALUPD-NEXT: 0x00000044: 00000124 "b.cpp"
382 GLOBALUPD-NEXT: 0x00000048: 0000012a "_Z3barv"
383 GLOBALUPD-NEXT: 0x0000004c: 00000132 "bar"
384 GLOBALUPD-NEXT: 0x00000050: 00000136 "_Z4bar2i"
385 GLOBALUPD-NEXT: 0x00000054: 0000013f "bar2"
386 GLOBALUPD-NEXT: 0x00000058: 00000144 "_Z4bar3i"
387 GLOBALUPD-NEXT: 0x0000005c: 0000014d "bar3"
388 GLOBALUPD-NEXT: 0x00000060: 00000152 "c.cpp"
389 GLOBALUPD-NEXT: 0x00000064: 00000158 "_Z3bazi"
390 GLOBALUPD-NEXT: 0x00000068: 00000160 "baz"
392 LOCALUPD: .debug_str_offsets contents:
393 LOCALUPD-NEXT: 0x00000000: Contribution size = 64, Format = DWARF32, Version = 5
394 LOCALUPD-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
395 LOCALUPD-NEXT: 0x0000000c: 00000030 "a.cpp"
396 LOCALUPD-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
397 LOCALUPD-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"
398 LOCALUPD-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"
399 LOCALUPD-NEXT: 0x0000001c: 000000ef "_Z3foov"
400 LOCALUPD-NEXT: 0x00000020: 000000f7 "foo"
401 LOCALUPD-NEXT: 0x00000024: 000000fb "_Z4foo2i"
402 LOCALUPD-NEXT: 0x00000028: 00000104 "foo2"
403 LOCALUPD-NEXT: 0x0000002c: 00000109 "a"
404 LOCALUPD-NEXT: 0x00000030: 0000010b "_Z4foo3i"
405 LOCALUPD-NEXT: 0x00000034: 00000114 "foo3"
406 LOCALUPD-NEXT: 0x00000038: 00000119 "x"
407 LOCALUPD-NEXT: 0x0000003c: 0000011b "main"
408 LOCALUPD-NEXT: 0x00000040: 00000120 "int"
409 LOCALUPD-NEXT: 0x00000044: Contribution size = 60, Format = DWARF32, Version = 5
410 LOCALUPD-NEXT: 0x0000004c: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
411 LOCALUPD-NEXT: 0x00000050: 00000124 "b.cpp"
412 LOCALUPD-NEXT: 0x00000054: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
413 LOCALUPD-NEXT: 0x00000058: 000000b7 "MacOSX14.0.sdk"
414 LOCALUPD-NEXT: 0x0000005c: 000000c6 "/Users/shubham/Development/test109275485"
415 LOCALUPD-NEXT: 0x00000060: 0000012a "_Z3barv"
416 LOCALUPD-NEXT: 0x00000064: 00000132 "bar"
417 LOCALUPD-NEXT: 0x00000068: 00000136 "_Z4bar2i"
418 LOCALUPD-NEXT: 0x0000006c: 0000013f "bar2"
419 LOCALUPD-NEXT: 0x00000070: 00000109 "a"
420 LOCALUPD-NEXT: 0x00000074: 00000144 "_Z4bar3i"
421 LOCALUPD-NEXT: 0x00000078: 0000014d "bar3"
422 LOCALUPD-NEXT: 0x0000007c: 00000119 "x"
423 LOCALUPD-NEXT: 0x00000080: 00000120 "int"
424 LOCALUPD-NEXT: 0x00000084: Contribution size = 40, Format = DWARF32, Version = 5
425 LOCALUPD-NEXT: 0x0000008c: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"
426 LOCALUPD-NEXT: 0x00000090: 00000152 "c.cpp"
427 LOCALUPD-NEXT: 0x00000094: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
428 LOCALUPD-NEXT: 0x00000098: 000000b7 "MacOSX14.0.sdk"
429 LOCALUPD-NEXT: 0x0000009c: 000000c6 "/Users/shubham/Development/test109275485"
430 LOCALUPD-NEXT: 0x000000a0: 00000158 "_Z3bazi"
431 LOCALUPD-NEXT: 0x000000a4: 00000160 "baz"
432 LOCALUPD-NEXT: 0x000000a8: 00000119 "x"
433 LOCALUPD-NEXT: 0x000000ac: 00000120 "int"