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