434 lines · plain
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_offsets3; 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".6 7; 1.o was produced with the source file:8 9; a.cpp10; __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; }23 24; clang -g -c -O1 a.cpp -gdwarf-5 -o 1.o25 26; 2.o was produced with the following source file:27 28; b.cpp29; __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; }38 39; clang -g -c -O1 b.cpp -gdwarf-5 -o 2.o40 41; 3.o was produced with the following source file:42 43; c.cpp44; 45; int baz(int x) {46; return x+2;47; }48 49; clang -g -c -O1 c.cpp -gdwarf-5 -o 3.o50 51 52RUN: rm -rf %t.dir && mkdir -p %t.dir53RUN: dsymutil -y %p/dummy-debug-map-arm64.map -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base -o %t.dir/dwarf5-addr-base.dSYM54RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefixes=CHECK,GLOBAL55 56RUN: dsymutil --update -y %p/dummy-debug-map-arm64.map -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base -o %t.dir/dwarf5-addr-base.dSYM57RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefixes=UPD,GLOBALUPD58 59RUN: rm -rf %t.dir && mkdir -p %t.dir60RUN: dsymutil --linker parallel --no-odr -y %p/dummy-debug-map-arm64.map \61RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \62RUN: -o %t.dir/dwarf5-addr-base.dSYM63RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \64RUN: FileCheck %s --check-prefixes=CHECK,LOCAL65 66RUN: rm -rf %t.dir && mkdir -p %t.dir67RUN: dsymutil --linker parallel -y %p/dummy-debug-map-arm64.map \68RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \69RUN: -o %t.dir/dwarf5-addr-base.dSYM70RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \71RUN: FileCheck %s --check-prefixes=CHECK,LOCAL,CHECK-LLVM72 73RUN: dsymutil --linker parallel --no-odr --update -y %p/dummy-debug-map-arm64.map \74RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \75RUN: -o %t.dir/dwarf5-addr-base.dSYM76RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \77RUN: FileCheck %s --check-prefixes=UPD,LOCALUPD78 79RUN: dsymutil --linker parallel --update -y %p/dummy-debug-map-arm64.map \80RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \81RUN: -o %t.dir/dwarf5-addr-base.dSYM82RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \83RUN: FileCheck %s --check-prefixes=UPD,LOCALUPD84 85 86CHECK: .debug_info contents:87CHECK-LLVM: Compile Unit: length = 0x0000001f, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x0888CHECK-LLVM: DW_TAG_compile_unit89CHECK-LLVM: DW_TAG_base_type90CHECK: Compile Unit: length = 0x0000004a, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x0891 92CHECK: DW_TAG_compile_unit93CHECK: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")94CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000001) string = "a.cpp")95CHECK: 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")96CHECK: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")97CHECK: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x00000008)98CHECK: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")99 100CHECK: DW_TAG_subprogram101CHECK: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000010040)102CHECK: DW_AT_linkage_name [DW_FORM_strx] (indexed (00000005) string = "_Z4foo2i")103CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000006) string = "foo2")104 105CHECK: DW_TAG_formal_parameter106CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000007) string = "a")107 108CHECK: NULL109 110CHECK: DW_TAG_base_type111CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000008) string = "int")112 113CHECK: NULL114 115CHECK: Compile Unit: length = 0x0000004a, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08116 117CHECK: DW_TAG_compile_unit118CHECK: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")119CHECK: DW_AT_name [DW_FORM_strx] (indexed (0000000{{9|1}}) string = "b.cpp")120CHECK: 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")121CHECK: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")122CHECK: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x000000{{08|34}})123CHECK: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")124 125CHECK: DW_TAG_subprogram126CHECK: DW_AT_linkage_name [DW_FORM_strx] (indexed (0000000{{a|5}}) string = "_Z4bar2i")127CHECK: DW_AT_name [DW_FORM_strx] (indexed (0000000{{b|6}}) string = "bar2")128 129CHECK: DW_TAG_formal_parameter130CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000007) string = "a")131 132CHECK: NULL133 134CHECK: DW_TAG_base_type135CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000008) string = "int")136 137CHECK: NULL138 139CHECK: Compile Unit: length = 0x00000043, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = {{.*}}, addr_size = 0x08140 141CHECK: DW_TAG_compile_unit142CHECK: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")143CHECK: DW_AT_name [DW_FORM_strx] (indexed (0000000{{c|1}}) string = "c.cpp")144CHECK: 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")145CHECK: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")146CHECK: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x000000{{08|60}})147CHECK: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")148 149CHECK: DW_TAG_subprogram150CHECK: DW_AT_linkage_name [DW_FORM_strx] (indexed (0000000{{d|5}}) string = "_Z3bazi")151CHECK: DW_AT_name [DW_FORM_strx] (indexed (0000000{{e|6}}) string = "baz")152 153CHECK: DW_TAG_formal_parameter154CHECK: DW_AT_name [DW_FORM_strx] (indexed (0000000{{f|7}}) string = "x")155 156CHECK: NULL157 158CHECK: DW_TAG_base_type159CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000008) string = "int")160 161CHECK: NULL162 163CHECK: .debug_str contents:164CHECK-NEXT: 0x00000000: ""165CHECK-NEXT: 0x00000001: "Apple clang version 15.0.0 (clang-1500.0.31.1)"166CHECK-NEXT: 0x00000030: "a.cpp"167CHECK-NEXT: 0x00000036: "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"168CHECK-NEXT: 0x000000b7: "MacOSX14.0.sdk"169CHECK-NEXT: 0x000000c6: "/Users/shubham/Development/test109275485"170CHECK-NEXT: 0x000000ef: "_Z4foo2i"171CHECK-NEXT: 0x000000f8: "foo2"172CHECK-NEXT: 0x000000fd: "a"173CHECK-NEXT: 0x000000ff: "int"174CHECK-NEXT: 0x00000103: "b.cpp"175CHECK-NEXT: 0x00000109: "_Z4bar2i"176CHECK-NEXT: 0x00000112: "bar2"177CHECK-NEXT: 0x00000117: "c.cpp"178CHECK-NEXT: 0x0000011d: "_Z3bazi"179CHECK-NEXT: 0x00000125: "baz"180CHECK-NEXT: 0x00000129: "x"181 182GLOBAL: .debug_str_offsets contents:183GLOBAL-NEXT: 0x00000000: Contribution size = 68, Format = DWARF32, Version = 5184GLOBAL-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"185GLOBAL-NEXT: 0x0000000c: 00000030 "a.cpp"186GLOBAL-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"187GLOBAL-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"188GLOBAL-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"189GLOBAL-NEXT: 0x0000001c: 000000ef "_Z4foo2i"190GLOBAL-NEXT: 0x00000020: 000000f8 "foo2"191GLOBAL-NEXT: 0x00000024: 000000fd "a"192GLOBAL-NEXT: 0x00000028: 000000ff "int"193GLOBAL-NEXT: 0x0000002c: 00000103 "b.cpp"194GLOBAL-NEXT: 0x00000030: 00000109 "_Z4bar2i"195GLOBAL-NEXT: 0x00000034: 00000112 "bar2"196GLOBAL-NEXT: 0x00000038: 00000117 "c.cpp"197GLOBAL-NEXT: 0x0000003c: 0000011d "_Z3bazi"198GLOBAL-NEXT: 0x00000040: 00000125 "baz"199GLOBAL-NEXT: 0x00000044: 00000129 "x"200 201LOCAL: .debug_str_offsets contents:202LOCAL-NEXT: 0x00000000: Contribution size = 40, Format = DWARF32, Version = 5203LOCAL-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"204LOCAL-NEXT: 0x0000000c: 00000030 "a.cpp"205LOCAL-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"206LOCAL-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"207LOCAL-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"208LOCAL-NEXT: 0x0000001c: 000000ef "_Z4foo2i"209LOCAL-NEXT: 0x00000020: 000000f8 "foo2"210LOCAL-NEXT: 0x00000024: 000000fd "a"211LOCAL-NEXT: 0x00000028: 000000ff "int"212LOCAL-NEXT: 0x0000002c: Contribution size = 40, Format = DWARF32, Version = 5213LOCAL-NEXT: 0x00000034: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"214LOCAL-NEXT: 0x00000038: 00000103 "b.cpp"215LOCAL-NEXT: 0x0000003c: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"216LOCAL-NEXT: 0x00000040: 000000b7 "MacOSX14.0.sdk"217LOCAL-NEXT: 0x00000044: 000000c6 "/Users/shubham/Development/test109275485"218LOCAL-NEXT: 0x00000048: 00000109 "_Z4bar2i"219LOCAL-NEXT: 0x0000004c: 00000112 "bar2"220LOCAL-NEXT: 0x00000050: 000000fd "a"221LOCAL-NEXT: 0x00000054: 000000ff "int"222LOCAL-NEXT: 0x00000058: Contribution size = 40, Format = DWARF32, Version = 5223LOCAL-NEXT: 0x00000060: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"224LOCAL-NEXT: 0x00000064: 00000117 "c.cpp"225LOCAL-NEXT: 0x00000068: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"226LOCAL-NEXT: 0x0000006c: 000000b7 "MacOSX14.0.sdk"227LOCAL-NEXT: 0x00000070: 000000c6 "/Users/shubham/Development/test109275485"228LOCAL-NEXT: 0x00000074: 0000011d "_Z3bazi"229LOCAL-NEXT: 0x00000078: 00000125 "baz"230LOCAL-NEXT: 0x0000007c: 00000129 "x"231LOCAL-NEXT: 0x00000080: 000000ff "int"232 233 234UPD: .debug_info contents:235UPD: 0x00000000: Compile Unit: length = 0x00000081, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x00000085)236 237UPD: 0x0000000c: DW_TAG_compile_unit [1] *238UPD: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")239UPD: DW_AT_name [DW_FORM_strx] (indexed (00000001) string = "a.cpp")240UPD: 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")241UPD: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")242UPD: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x00000008)243UPD: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")244 245UPD: 0x00000031: DW_TAG_subprogram [2] (0x0000000c)246UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (00000005) string = "_Z3foov")247UPD: DW_AT_name [DW_FORM_strx] (indexed (00000006) string = "foo")248 249UPD: 0x0000003d: DW_TAG_subprogram [3] * (0x0000000c)250UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (00000007) string = "_Z4foo2i")251UPD: DW_AT_name [DW_FORM_strx] (indexed (00000008) string = "foo2")252 253UPD: 0x0000004d: DW_TAG_formal_parameter [4] (0x0000003d)254UPD: DW_AT_name [DW_FORM_strx] (indexed (00000009) string = "a")255 256UPD: 0x00000056: NULL257 258UPD: 0x00000057: DW_TAG_subprogram [3] * (0x0000000c)259UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (0000000a) string = "_Z4foo3i")260UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000b) string = "foo3")261 262UPD: 0x00000067: DW_TAG_formal_parameter [4] (0x00000057)263UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000c) string = "x")264 265UPD: 0x00000070: NULL266 267UPD: 0x00000071: DW_TAG_subprogram [5] (0x0000000c)268UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000d) string = "main")269 270UPD: 0x00000080: DW_TAG_base_type [6] (0x0000000c)271UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000e) string = "int")272 273UPD: 0x00000084: NULL274 275UPD: 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)276 277UPD: 0x00000091: DW_TAG_compile_unit [1] *278UPD: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")279UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000{{f|1}}) string = "b.cpp")280UPD: 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")281UPD: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")282UPD: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x000000{{08|4c}})283UPD: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")284 285UPD: 0x000000b6: DW_TAG_subprogram [2] (0x00000091)286UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (000000{{10|05}}) string = "_Z3barv")287UPD: DW_AT_name [DW_FORM_strx] (indexed (000000{{11|06}}) string = "bar")288 289UPD: 0x000000c2: DW_TAG_subprogram [3] * (0x00000091)290UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (000000{{12|07}}) string = "_Z4bar2i")291UPD: DW_AT_name [DW_FORM_strx] (indexed (000000{{13|08}}) string = "bar2")292 293UPD: 0x000000d2: DW_TAG_formal_parameter [4] (0x000000c2)294UPD: DW_AT_name [DW_FORM_strx] (indexed (00000009) string = "a")295 296UPD: 0x000000db: NULL297 298UPD: 0x000000dc: DW_TAG_subprogram [3] * (0x00000091)299UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (000000{{14|0a}}) string = "_Z4bar3i")300UPD: DW_AT_name [DW_FORM_strx] (indexed (000000{{15|0b}}) string = "bar3")301 302UPD: 0x000000ec: DW_TAG_formal_parameter [4] (0x000000dc)303UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000c) string = "x")304 305UPD: 0x000000f5: NULL306 307UPD: 0x000000f6: DW_TAG_base_type {{.*}} (0x00000091)308UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000{{e|d}}) string = "int")309 310UPD: 0x000000fa: NULL311 312UPD: 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)313 314UPD: 0x00000107: DW_TAG_compile_unit {{.*}} *315UPD: DW_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 15.0.0 (clang-1500.0.31.1)")316UPD: DW_AT_name [DW_FORM_strx] (indexed (000000{{16|01}}) string = "c.cpp")317UPD: 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")318UPD: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX14.0.sdk")319UPD: DW_AT_str_offsets_base [DW_FORM_sec_offset] (0x000000{{08|8c}})320UPD: DW_AT_comp_dir [DW_FORM_strx] (indexed (00000004) string = "/Users/shubham/Development/test109275485")321 322UPD: 0x00000124: DW_TAG_subprogram {{.*}} * (0x00000107)323UPD: DW_AT_linkage_name [DW_FORM_strx] (indexed (000000{{17|05}}) string = "_Z3bazi")324UPD: DW_AT_name [DW_FORM_strx] (indexed (000000{{18|06}}) string = "baz")325 326UPD: 0x00000134: DW_TAG_formal_parameter {{.*}} (0x00000124)327UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000{{c|7}}) string = "x")328 329UPD: 0x0000013d: NULL330 331UPD: 0x0000013e: DW_TAG_base_type {{.*}} (0x00000107)332UPD: DW_AT_name [DW_FORM_strx] (indexed (0000000{{e|8}}) string = "int")333 334UPD: 0x00000142: NULL335 336UPD: .debug_str contents:337UPD-NEXT: 0x00000000: ""338UPD-NEXT: 0x00000001: "Apple clang version 15.0.0 (clang-1500.0.31.1)"339UPD-NEXT: 0x00000030: "a.cpp"340UPD-NEXT: 0x00000036: "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"341UPD-NEXT: 0x000000b7: "MacOSX14.0.sdk"342UPD-NEXT: 0x000000c6: "/Users/shubham/Development/test109275485"343UPD-NEXT: 0x000000ef: "_Z3foov"344UPD-NEXT: 0x000000f7: "foo"345UPD-NEXT: 0x000000fb: "_Z4foo2i"346UPD-NEXT: 0x00000104: "foo2"347UPD-NEXT: 0x00000109: "a"348UPD-NEXT: 0x0000010b: "_Z4foo3i"349UPD-NEXT: 0x00000114: "foo3"350UPD-NEXT: 0x00000119: "x"351UPD-NEXT: 0x0000011b: "main"352UPD-NEXT: 0x00000120: "int"353UPD-NEXT: 0x00000124: "b.cpp"354UPD-NEXT: 0x0000012a: "_Z3barv"355UPD-NEXT: 0x00000132: "bar"356UPD-NEXT: 0x00000136: "_Z4bar2i"357UPD-NEXT: 0x0000013f: "bar2"358UPD-NEXT: 0x00000144: "_Z4bar3i"359UPD-NEXT: 0x0000014d: "bar3"360UPD-NEXT: 0x00000152: "c.cpp"361UPD-NEXT: 0x00000158: "_Z3bazi"362UPD-NEXT: 0x00000160: "baz"363 364GLOBALUPD: .debug_str_offsets contents:365GLOBALUPD-NEXT: 0x00000000: Contribution size = 104, Format = DWARF32, Version = 5366GLOBALUPD-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"367GLOBALUPD-NEXT: 0x0000000c: 00000030 "a.cpp"368GLOBALUPD-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"369GLOBALUPD-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"370GLOBALUPD-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"371GLOBALUPD-NEXT: 0x0000001c: 000000ef "_Z3foov"372GLOBALUPD-NEXT: 0x00000020: 000000f7 "foo"373GLOBALUPD-NEXT: 0x00000024: 000000fb "_Z4foo2i"374GLOBALUPD-NEXT: 0x00000028: 00000104 "foo2"375GLOBALUPD-NEXT: 0x0000002c: 00000109 "a"376GLOBALUPD-NEXT: 0x00000030: 0000010b "_Z4foo3i"377GLOBALUPD-NEXT: 0x00000034: 00000114 "foo3"378GLOBALUPD-NEXT: 0x00000038: 00000119 "x"379GLOBALUPD-NEXT: 0x0000003c: 0000011b "main"380GLOBALUPD-NEXT: 0x00000040: 00000120 "int"381GLOBALUPD-NEXT: 0x00000044: 00000124 "b.cpp"382GLOBALUPD-NEXT: 0x00000048: 0000012a "_Z3barv"383GLOBALUPD-NEXT: 0x0000004c: 00000132 "bar"384GLOBALUPD-NEXT: 0x00000050: 00000136 "_Z4bar2i"385GLOBALUPD-NEXT: 0x00000054: 0000013f "bar2"386GLOBALUPD-NEXT: 0x00000058: 00000144 "_Z4bar3i"387GLOBALUPD-NEXT: 0x0000005c: 0000014d "bar3"388GLOBALUPD-NEXT: 0x00000060: 00000152 "c.cpp"389GLOBALUPD-NEXT: 0x00000064: 00000158 "_Z3bazi"390GLOBALUPD-NEXT: 0x00000068: 00000160 "baz"391 392LOCALUPD: .debug_str_offsets contents:393LOCALUPD-NEXT: 0x00000000: Contribution size = 64, Format = DWARF32, Version = 5394LOCALUPD-NEXT: 0x00000008: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"395LOCALUPD-NEXT: 0x0000000c: 00000030 "a.cpp"396LOCALUPD-NEXT: 0x00000010: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"397LOCALUPD-NEXT: 0x00000014: 000000b7 "MacOSX14.0.sdk"398LOCALUPD-NEXT: 0x00000018: 000000c6 "/Users/shubham/Development/test109275485"399LOCALUPD-NEXT: 0x0000001c: 000000ef "_Z3foov"400LOCALUPD-NEXT: 0x00000020: 000000f7 "foo"401LOCALUPD-NEXT: 0x00000024: 000000fb "_Z4foo2i"402LOCALUPD-NEXT: 0x00000028: 00000104 "foo2"403LOCALUPD-NEXT: 0x0000002c: 00000109 "a"404LOCALUPD-NEXT: 0x00000030: 0000010b "_Z4foo3i"405LOCALUPD-NEXT: 0x00000034: 00000114 "foo3"406LOCALUPD-NEXT: 0x00000038: 00000119 "x"407LOCALUPD-NEXT: 0x0000003c: 0000011b "main"408LOCALUPD-NEXT: 0x00000040: 00000120 "int"409LOCALUPD-NEXT: 0x00000044: Contribution size = 60, Format = DWARF32, Version = 5410LOCALUPD-NEXT: 0x0000004c: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"411LOCALUPD-NEXT: 0x00000050: 00000124 "b.cpp"412LOCALUPD-NEXT: 0x00000054: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"413LOCALUPD-NEXT: 0x00000058: 000000b7 "MacOSX14.0.sdk"414LOCALUPD-NEXT: 0x0000005c: 000000c6 "/Users/shubham/Development/test109275485"415LOCALUPD-NEXT: 0x00000060: 0000012a "_Z3barv"416LOCALUPD-NEXT: 0x00000064: 00000132 "bar"417LOCALUPD-NEXT: 0x00000068: 00000136 "_Z4bar2i"418LOCALUPD-NEXT: 0x0000006c: 0000013f "bar2"419LOCALUPD-NEXT: 0x00000070: 00000109 "a"420LOCALUPD-NEXT: 0x00000074: 00000144 "_Z4bar3i"421LOCALUPD-NEXT: 0x00000078: 0000014d "bar3"422LOCALUPD-NEXT: 0x0000007c: 00000119 "x"423LOCALUPD-NEXT: 0x00000080: 00000120 "int"424LOCALUPD-NEXT: 0x00000084: Contribution size = 40, Format = DWARF32, Version = 5425LOCALUPD-NEXT: 0x0000008c: 00000001 "Apple clang version 15.0.0 (clang-1500.0.31.1)"426LOCALUPD-NEXT: 0x00000090: 00000152 "c.cpp"427LOCALUPD-NEXT: 0x00000094: 00000036 "/Users/shubham/apple-internal/Xcode-Rainbow/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"428LOCALUPD-NEXT: 0x00000098: 000000b7 "MacOSX14.0.sdk"429LOCALUPD-NEXT: 0x0000009c: 000000c6 "/Users/shubham/Development/test109275485"430LOCALUPD-NEXT: 0x000000a0: 00000158 "_Z3bazi"431LOCALUPD-NEXT: 0x000000a4: 00000160 "baz"432LOCALUPD-NEXT: 0x000000a8: 00000119 "x"433LOCALUPD-NEXT: 0x000000ac: 00000120 "int"434