aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/dsymutil/ARM
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/dsymutil/ARM')
-rw-r--r--llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test80
-rw-r--r--llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test49
-rw-r--r--llvm/test/tools/dsymutil/ARM/call-pc-reloc.test23
-rw-r--r--llvm/test/tools/dsymutil/ARM/debug-names-accel-table-types.ll70
-rw-r--r--llvm/test/tools/dsymutil/ARM/discriminator.test21
-rw-r--r--llvm/test/tools/dsymutil/ARM/discriminator_repeated.test51
-rw-r--r--llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map21
-rw-r--r--llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test188
-rw-r--r--llvm/test/tools/dsymutil/ARM/dwarf5-addrx-0x0-last.test53
-rw-r--r--llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test236
-rw-r--r--llvm/test/tools/dsymutil/ARM/dwarf5-macho.test124
-rw-r--r--llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test433
-rw-r--r--llvm/test/tools/dsymutil/ARM/extern-alias.test46
-rw-r--r--llvm/test/tools/dsymutil/ARM/fat-arch-name.test22
-rw-r--r--llvm/test/tools/dsymutil/ARM/fat-threading.test3
-rw-r--r--llvm/test/tools/dsymutil/ARM/firmware.test11
-rw-r--r--llvm/test/tools/dsymutil/ARM/inline-source.test21
-rw-r--r--llvm/test/tools/dsymutil/ARM/inlined-low_pc.c19
-rw-r--r--llvm/test/tools/dsymutil/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/dsymutil/ARM/missing-object-warning.test5
-rw-r--r--llvm/test/tools/dsymutil/ARM/missing-symbol-warning.test3
-rw-r--r--llvm/test/tools/dsymutil/ARM/preload.test15
-rw-r--r--llvm/test/tools/dsymutil/ARM/remarks-linking-bundle-empty.test13
-rw-r--r--llvm/test/tools/dsymutil/ARM/remarks-linking-bundle.test81
-rw-r--r--llvm/test/tools/dsymutil/ARM/static-archive-collision.test26
-rw-r--r--llvm/test/tools/dsymutil/ARM/stmt-seq-macho.test2069
-rw-r--r--llvm/test/tools/dsymutil/ARM/swiftmodule.test34
27 files changed, 0 insertions, 3719 deletions
diff --git a/llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test b/llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test
deleted file mode 100644
index 29c0d45..0000000
--- a/llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test
+++ /dev/null
@@ -1,80 +0,0 @@
-RUN: dsymutil --linker parallel -accelerator=Dwarf \
-RUN: -oso-prepend-path=%p/../../Inputs \
-RUN: %p/../../Inputs/accel-imported-declaration.macho-arm64 -o %t.dwarf.dSYM
-RUN: dsymutil --linker parallel -accelerator=Apple \
-RUN: -oso-prepend-path=%p/../../Inputs \
-RUN: %p/../../Inputs/accel-imported-declaration.macho-arm64 -o %t.apple.dSYM
-
-RUN: llvm-dwarfdump -v %t.dwarf.dSYM | FileCheck %s -check-prefixes=DWARF,COMMON
-RUN: llvm-dwarfdump -v %t.apple.dSYM | FileCheck %s -check-prefixes=APPLE,COMMON
-
-COMMON: .debug_info contents
-COMMON: DW_TAG_compile_unit
-COMMON: DW_AT_name{{.*}}"__artificial_type_unit"
-COMMON: DW_TAG_base_type
-COMMON: DW_AT_name{{.*}}"int"
-COMMON: DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"A"
-COMMON: DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"B"
-COMMON: 0x[[NAMESPACE_C_1:[0-9a-f]*]]: DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"C"
-COMMON-NOT: DW_TAG_variable
-COMMON: 0x[[NAMESPACE_C_2:[0-9a-f]*]]: DW_TAG_imported_declaration
-COMMON: DW_AT_import{{.*}}[[NAMESPACE_C_1]]
-COMMON: DW_AT_name{{.*}}"C"
-COMMON: DW_TAG_imported_module
-COMMON: DW_AT_import{{.*}}[[NAMESPACE_C_1]]
-
-
-COMMON: DW_TAG_compile_unit
-COMMON: {{.*}}DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"A"
-COMMON: {{.*}}DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"B"
-COMMON: 0x[[NAMESPACE_C_3:[0-9a-f]*]]: DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"C"
-COMMON: 0x[[VAR_A:[0-9a-f]*]]: DW_TAG_variable
-COMMON: DW_TAG_imported_declaration
-COMMON: DW_AT_import{{.*}}[[VAR_A]]
-
-DWARF: .debug_names contents:
-DWARF: Bucket 0 [
-DWARF-NEXT: Name {{.*}} {
-DWARF-NEXT: Hash: {{.*}}
-DWARF-NEXT: String: {{.*}} "C"
-DWARF-NEXT: Entry {{.*}} {
-DWARF-NEXT: Abbrev: {{.*}}
-DWARF-NEXT: Tag: DW_TAG_namespace
-DWARF: DW_IDX_die_offset: 0x0000002f
-DWARF-NEXT: }
-DWARF-NEXT: Entry {{.*}} {
-DWARF-NEXT: Abbrev: {{.*}}
-DWARF: Tag: DW_TAG_imported_declaration
-DWARF: DW_IDX_die_offset: 0x00000035
-DWARF-NEXT: }
-DWARF-NEXT: Entry {{.*}} {
-DWARF-NEXT: Abbrev: {{.*}}
-DWARF-NEXT: Tag: DW_TAG_namespace
-DWARF: DW_IDX_die_offset: 0x0000003c
-DWARF-NEXT: }
-
-DWARF-NEXT: }
-
-APPLE: .apple_namespaces contents:
-APPLE: Bucket 1 [
-APPLE-NEXT: Hash {{.*}} [
-APPLE-NEXT: Name@{{.*}} {
-APPLE-NEXT: String: {{.*}} "C"
-APPLE-NEXT: Data 0 [
-APPLE-NEXT: Atom[0]: 0x[[NAMESPACE_C_1]]
-APPLE-NEXT: ]
-APPLE-NEXT: Data 1 [
-APPLE-NEXT: Atom[0]: 0x[[NAMESPACE_C_2]]
-APPLE-NEXT: ]
-APPLE-NEXT: Data 2 [
-APPLE-NEXT: Atom[0]: 0x[[NAMESPACE_C_3]]
-APPLE-NEXT: ]
-APPLE: }
-APPLE-NEXT: ]
-APPLE-NEXT: ]
diff --git a/llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test b/llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test
deleted file mode 100644
index 8afbe34..0000000
--- a/llvm/test/tools/dsymutil/ARM/accel-imported-declarations.test
+++ /dev/null
@@ -1,49 +0,0 @@
-RUN: dsymutil -accelerator=Dwarf -oso-prepend-path=%p/../Inputs %p/../Inputs/accel-imported-declaration.macho-arm64 -o %t.dwarf.dSYM
-RUN: dsymutil -accelerator=Apple -oso-prepend-path=%p/../Inputs %p/../Inputs/accel-imported-declaration.macho-arm64 -o %t.apple.dSYM
-
-RUN: llvm-dwarfdump -v %t.dwarf.dSYM | FileCheck %s -check-prefixes=DWARF,COMMON
-RUN: llvm-dwarfdump -v %t.apple.dSYM | FileCheck %s -check-prefixes=APPLE,COMMON
-
-COMMON: .debug_info contents
-COMMON: {{.*}}DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"A"
-COMMON: {{.*}}DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"B"
-COMMON: [[NAMESPACE:0x[0-9a-f]*]]:{{.*}}DW_TAG_namespace
-COMMON: DW_AT_name{{.*}}"C"
-COMMON: 0x0000005c:{{.*}}DW_TAG_imported_declaration
-COMMON: DW_AT_name{{.*}}"C"
-
-DWARF: .debug_names contents:
-DWARF: Bucket 0 [
-DWARF-NEXT: Name {{.*}} {
-DWARF-NEXT: Hash: {{.*}}
-DWARF-NEXT: String: {{.*}} "C"
-DWARF-NEXT: Entry {{.*}} {
-DWARF-NEXT: Abbrev: {{.*}}
-DWARF-NEXT: Tag: DW_TAG_namespace
-DWARF: DW_IDX_die_offset: [[NAMESPACE]]
-DWARF-NEXT: DW_IDX_parent: Entry @ 0x{{.*}}
-DWARF-NEXT: }
-DWARF-NEXT: Entry {{.*}} {
-DWARF-NEXT: Abbrev: {{.*}}
-DWARF: Tag: DW_TAG_imported_declaration
-DWARF: DW_IDX_die_offset: 0x0000005c
-DWARF-NEXT: DW_IDX_parent: Entry @ 0x{{.*}}
-DWARF-NEXT: }
-DWARF-NEXT: }
-
-APPLE: .apple_namespaces contents:
-APPLE: Bucket 1 [
-APPLE-NEXT: Hash {{.*}} [
-APPLE-NEXT: Name@{{.*}} {
-APPLE-NEXT: String: {{.*}} "C"
-APPLE-NEXT: Data 0 [
-APPLE-NEXT: Atom[0]: [[NAMESPACE]]
-APPLE-NEXT: ]
-APPLE-NEXT: Data 1 [
-APPLE-NEXT: Atom[0]: {{0x0000005c|0x0000006f}}
-APPLE-NEXT: ]
-APPLE: }
-APPLE-NEXT: ]
-APPLE-NEXT: ]
diff --git a/llvm/test/tools/dsymutil/ARM/call-pc-reloc.test b/llvm/test/tools/dsymutil/ARM/call-pc-reloc.test
deleted file mode 100644
index 1636f08..0000000
--- a/llvm/test/tools/dsymutil/ARM/call-pc-reloc.test
+++ /dev/null
@@ -1,23 +0,0 @@
-Instructions to reproduce
--------------------------
-
-$ cat main.cpp
-void __attribute__((optnone)) func2() {}
-void __attribute__((noinline)) func1() { func2(); /* tail */ }
-int __attribute__((disable_tail_calls)) main() {
- func1(); /* regular */
- return 0;
-}
-
-# Adding `-isysroot $(xcrun -sdk iphoneos.internal -show-sdk-path)` can fix
-# linker warnings when building on macOS.
-$ clang -arch arm64 main.cpp -o main.arm64.o -c -g -O2
-$ clang -arch arm64 main.arm64.o -o main.arm64 -g
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/call_pc/main.arm64 -o %t.dSYM
-RUN: llvm-dwarfdump %t.dSYM | FileCheck %s -implicit-check-not=DW_AT_call_pc
-
-RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/call_pc/main.arm64 -o %t.dSYM
-RUN: llvm-dwarfdump %t.dSYM | FileCheck %s -implicit-check-not=DW_AT_call_pc
-
-CHECK: DW_AT_call_pc (0x0000000100007f94)
diff --git a/llvm/test/tools/dsymutil/ARM/debug-names-accel-table-types.ll b/llvm/test/tools/dsymutil/ARM/debug-names-accel-table-types.ll
deleted file mode 100644
index 7811942..0000000
--- a/llvm/test/tools/dsymutil/ARM/debug-names-accel-table-types.ll
+++ /dev/null
@@ -1,70 +0,0 @@
-; RUN: %llc_dwarf -debugger-tune=lldb -accel-tables=Dwarf -filetype=obj -o %t < %s
-; RUN: dsymutil %t -o %t.dSYM
-; RUN: llvm-dwarfdump %t | FileCheck %s
-; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=SAME-NAME %s
-; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=DIFFERENT-NAME %s
-; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=UNIQUE-DIFFERENT-NAME %s
-; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
-
-
-; CHECK: DW_TAG_structure_type
-; CHECK: DW_AT_name ("SameName")
-; CHECK: DW_AT_linkage_name ("SameName")
-
-; CHECK: DW_TAG_structure_type
-; CHECK: DW_AT_name ("DifferentName")
-; CHECK: DW_AT_linkage_name ("UniqueDifferentName")
-
-; The name count should be 5 (the two variables, "int", "SameName", "DifferentName", "UniqueDifferentName").
-; SAME-NAME: Name count: 6
-
-; The accelarator should only have one entry for the three following names.
-; SAME-NAME: "SameName"
-; SAME-NAME-NOT: "SameName"
-
-; DIFFERENT-NAME: "DifferentName"
-; DIFFERENT-NAME-NOT: "DifferentName"
-
-; UNIQUE-DIFFERENT-NAME: "UniqueDifferentName"
-; UNIQUE-DIFFERENT-NAME-NOT: "UniqueDifferentName"
-
-; Verification should succeed.
-; VERIFY: No errors.
-
-; ModuleID = 't.c'
-source_filename = "t.c"
-target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32"
-target triple = "arm64-apple-macosx14.5.0"
-
-%struct.SameName = type { i32 }
-%struct.DifferentName = type { i32 }
-
-@q = global %struct.SameName zeroinitializer, align 4, !dbg !0
-@r = global %struct.DifferentName zeroinitializer, align 4, !dbg !5
-
-!llvm.module.flags = !{!14, !15, !16, !17, !18, !19, !20}
-!llvm.dbg.cu = !{!2}
-!llvm.ident = !{!21}
-
-!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
-!1 = distinct !DIGlobalVariable(name: "q", scope: !2, file: !3, line: 9, type: !11, isLocal: false, isDefinition: true)
-!2 = distinct !DICompileUnit(language: DW_LANG_C11, file: !3, producer: "clang version 1", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, globals: !4, splitDebugInlining: false, nameTableKind: Apple)
-!3 = !DIFile(filename: "t.c", directory: "/")
-!4 = !{!0, !5}
-!5 = !DIGlobalVariableExpression(var: !6, expr: !DIExpression())
-!6 = distinct !DIGlobalVariable(name: "r", scope: !2, file: !3, line: 10, type: !7, isLocal: false, isDefinition: true)
-!7 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "DifferentName", file: !3, line: 5, size: 32, runtimeLang: DW_LANG_Swift, identifier: "UniqueDifferentName", elements: !8)
-!8 = !{!9}
-!9 = !DIDerivedType(tag: DW_TAG_member, name: "i", scope: !7, file: !3, line: 6, baseType: !10, size: 32)
-!10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
-!11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "SameName", file: !3, line: 1, size: 32, runtimeLang: DW_LANG_Swift, identifier: "SameName", elements: !12)
-!12 = !{!13}
-!13 = !DIDerivedType(tag: DW_TAG_member, name: "i", scope: !11, file: !3, line: 2, baseType: !10, size: 32)
-!14 = !{i32 2, !"SDK Version", [2 x i32] [i32 14, i32 5]}
-!15 = !{i32 7, !"Dwarf Version", i32 4}
-!16 = !{i32 2, !"Debug Info Version", i32 3}
-!17 = !{i32 1, !"wchar_size", i32 4}
-!18 = !{i32 8, !"PIC Level", i32 2}
-!19 = !{i32 7, !"uwtable", i32 1}
-!20 = !{i32 7, !"frame-pointer", i32 1}
-!21 = !{!"clang version 1"}
diff --git a/llvm/test/tools/dsymutil/ARM/discriminator.test b/llvm/test/tools/dsymutil/ARM/discriminator.test
deleted file mode 100644
index 5d25878..0000000
--- a/llvm/test/tools/dsymutil/ARM/discriminator.test
+++ /dev/null
@@ -1,21 +0,0 @@
-; The input at Inputs/discriminator.arm64.dylib[.o] produced by compiling
-;
-; int foo(int i, int a, int b) {
-; return i ? a : a * b;
-; }
-;
-; with -g -fdebug-info-for-profiling -O2.
-
-RUN: dsymutil --flat --linker=classic -o - --oso-prepend-path %p/../Inputs \
-RUN: --verify-dwarf=none %p/../Inputs/discriminator.arm64.dylib \
-RUN: | llvm-dwarfdump -debug-line - | FileCheck %s
-
-RUN: dsymutil --flat --linker=parallel -o - --oso-prepend-path %p/../Inputs \
-RUN: --verify-dwarf=none %p/../Inputs/discriminator.arm64.dylib \
-RUN: | llvm-dwarfdump -debug-line - | FileCheck %s
-
-CHECK: Address Line Column File ISA Discriminator OpIndex Flags
-CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
-CHECK-NEXT: 0x0000000000003f98 2 10 0 0 0 0 is_stmt prologue_end
-CHECK-NEXT: 0x0000000000003fa4 2 3 0 0 6 0
-CHECK-NEXT: 0x0000000000003fa8 2 3 0 0 6 0 end_sequence \ No newline at end of file
diff --git a/llvm/test/tools/dsymutil/ARM/discriminator_repeated.test b/llvm/test/tools/dsymutil/ARM/discriminator_repeated.test
deleted file mode 100644
index 1c4dfc1..0000000
--- a/llvm/test/tools/dsymutil/ARM/discriminator_repeated.test
+++ /dev/null
@@ -1,51 +0,0 @@
-; The input at Inputs/discriminator_repeated.arm64.* were
-; produced by compiling
-;
-; void loop(int X, int Y, unsigned int **A, unsigned int **B, unsigned int **C) {
-; for (int i = 0; i < X; i++)
-; for (int j = 0; j < Y; j++)
-; C[i][j] += A[i][j] + B[i][j];
-; }
-;
-; with -g -fdebug-info-for-profiling -O2.
-
-RUN: dsymutil --flat --linker=classic -o - --oso-prepend-path %p/../Inputs \
-RUN: --verify-dwarf=none %p/../Inputs/discriminator_repeated.arm64.dylib \
-RUN: | llvm-dwarfdump -debug-line - | FileCheck %s
-
-RUN: dsymutil --flat --linker=parallel -o - --oso-prepend-path %p/../Inputs \
-RUN: --verify-dwarf=none %p/../Inputs/discriminator_repeated.arm64.dylib \
-RUN: | llvm-dwarfdump -debug-line - | FileCheck %s
-
-CHECK: Address Line Column File ISA Discriminator OpIndex Flags
-CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
-CHECK-NEXT: 0x0000000000003e8c 2 3 0 0 2 0 is_stmt prologue_end
-CHECK-NEXT: 0x0000000000003e94 0 3 0 0 0 0
-CHECK-NEXT: 0x0000000000003e98 2 21 0 0 2 0
-CHECK-NEXT: 0x0000000000003ea0 2 3 0 0 2 0
-CHECK-NEXT: 0x0000000000003eac 2 27 0 0 4 0
-CHECK-NEXT: 0x0000000000003eb0 2 3 0 0 2 0
-CHECK-NEXT: 0x0000000000003eb8 3 5 0 0 2 0 is_stmt
-CHECK-NEXT: 0x0000000000003ec0 0 5 0 0 0 0
-CHECK-NEXT: 0x0000000000003ecc 3 5 0 0 2 0
-CHECK-NEXT: 0x0000000000003ed4 0 5 0 0 0 0
-CHECK-NEXT: 0x0000000000003ed8 3 5 0 0 0 0
-CHECK-NEXT: 0x0000000000003eec 4 18 0 0 0 0 is_stmt
-CHECK-NEXT: 0x0000000000003ef0 4 28 0 0 0 0
-CHECK-NEXT: 0x0000000000003ef4 4 15 0 0 0 0
-CHECK-NEXT: 0x0000000000003ef8 4 26 0 0 0 0
-CHECK-NEXT: 0x0000000000003efc 4 15 0 0 0 0
-CHECK-NEXT: 0x0000000000003f04 3 23 0 0 2 0 is_stmt
-CHECK-NEXT: 0x0000000000003f08 3 5 0 0 2 0
-CHECK-NEXT: 0x0000000000003f10 0 5 0 0 0 0
-CHECK-NEXT: 0x0000000000003f14 3 5 0 0 2 0
-CHECK-NEXT: 0x0000000000003f3c 3 5 0 0 0 0
-CHECK-NEXT: 0x0000000000003f4c 4 18 0 0 65 0 is_stmt
-CHECK-NEXT: 0x0000000000003f54 4 28 0 0 65 0
-CHECK-NEXT: 0x0000000000003f5c 4 26 0 0 65 0
-CHECK-NEXT: 0x0000000000003f6c 4 15 0 0 65 0
-CHECK-NEXT: 0x0000000000003f8c 3 29 0 0 4100 0 is_stmt
-CHECK-NEXT: 0x0000000000003f94 0 29 0 0 0 0
-CHECK-NEXT: 0x0000000000003f98 3 5 0 0 4098 0
-CHECK-NEXT: 0x0000000000003fa4 5 1 0 0 0 0 is_stmt
-CHECK-NEXT: 0x0000000000003fa8 5 1 0 0 0 0 is_stmt end_sequence \ No newline at end of file
diff --git a/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map b/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map
deleted file mode 100644
index 50d8602..0000000
--- a/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map
+++ /dev/null
@@ -1,21 +0,0 @@
-# This is a dummy debug map used for some tests where the contents of the
-# map are just an implementation detail. The tests wanting to use that file
-# should put all there object files in an explicitely named sub-directory
-# of Inputs, and they should be named 1.o, 2.o, ...
-# As not finding an object file or symbols isn't a fatal error for dsymutil,
-# you can extend this file with as much object files and symbols as needed.
-
----
-triple: 'arm64-apple-darwin'
-objects:
- - filename: 1.o
- symbols:
- - { sym: _bar, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }
- - filename: 2.o
- symbols:
- - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x20000, size: 0x10 }
- - filename: 3.o
- symbols:
- - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x30000, size: 0x10 }
-...
-
diff --git a/llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test b/llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test
deleted file mode 100644
index dfcfa67..0000000
--- a/llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test
+++ /dev/null
@@ -1,188 +0,0 @@
-; This test checks to ensure that if three DWARFv5 object files have correct values for the DW_AT_addr_base in their compile units.
-
-; 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
-
-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 | FileCheck %s
-
-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,CHECK-LLVM
-
-
-RUN: rm -rf %t.dir && mkdir -p %t.dir
-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-prefix=UPD
-
-RUN: rm -rf %t.dir && mkdir -p %t.dir
-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-prefix=UPD
-
-RUN: rm -rf %t.dir && mkdir -p %t.dir
-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-prefix=UPD
-
-
-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_addr_base [DW_FORM_sec_offset] (0x00000008)
-
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x[[ADDR1:[0-9a-f]+]])
-
-
-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_addr_base [DW_FORM_sec_offset] (0x00000018)
-
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x[[ADDR2:[0-9a-f]+]])
-
-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_addr_base [DW_FORM_sec_offset] (0x00000028)
-
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x[[ADDR3:[0-9a-f]+]])
-
-CHECK: .debug_addr contents:
-CHECK-NEXT: 0x00000000: Address table header: length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-CHECK-NEXT: Addrs: [
-CHECK-NEXT: 0x[[ADDR1]]
-CHECK-NEXT: ]
-CHECK-NEXT: 0x00000010: Address table header: length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-CHECK-NEXT: Addrs: [
-CHECK-NEXT: 0x[[ADDR2]]
-CHECK-NEXT: ]
-CHECK-NEXT: 0x00000020: Address table header: length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-CHECK-NEXT: Addrs: [
-CHECK-NEXT: 0x[[ADDR3]]
-CHECK-NEXT: ]
-
-UPD: .debug_info contents:
-UPD-NEXT: 0x00000000: Compile Unit: length = 0x00000081, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0000, addr_size = 0x08
-
-UPD: 0x0000000c: DW_TAG_compile_unit [1] *
-UPD: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
-
-UPD: 0x00000031: DW_TAG_subprogram [2] (0x0000000c)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000000018)
-
-UPD: 0x0000003d: DW_TAG_subprogram [3] * (0x0000000c)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000001) address = 0x0000000000000000)
-
-UPD: 0x00000057: DW_TAG_subprogram [3] * (0x0000000c)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000002) address = 0x0000000000000008)
-
-UPD: 0x00000071: DW_TAG_subprogram [5] (0x0000000c)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000003) address = 0x0000000000000010)
-
-
-UPD: 0x00000085: Compile Unit: length = 0x00000072, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x00{{00|99}}, addr_size = 0x08
-
-UPD: 0x00000091: DW_TAG_compile_unit [1] *
-UPD: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
-
-UPD: 0x000000b6: DW_TAG_subprogram [2] (0x00000091)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000000018)
-
-UPD: 0x000000c2: DW_TAG_subprogram [3] * (0x00000091)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000001) address = 0x0000000000000000)
-
-UPD: 0x000000dc: DW_TAG_subprogram [3] * (0x00000091)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000002) address = 0x0000000000000008)
-
-UPD: 0x000000fb: Compile Unit: length = 0x00000044, format = DWARF32, version = 0x0005, unit_type = DW_UT_compile, abbr_offset = 0x0{{000|115}}, addr_size = 0x08
-
-UPD: 0x00000107: DW_TAG_compile_unit {{.*}} *
-UPD: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
-
-UPD: 0x00000124: DW_TAG_subprogram {{.*}} * (0x00000107)
-UPD-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000000000018)
-
-UPD: .debug_addr contents:
-UPD-NEXT: 0x00000000: Address table header: length = 0x00000024, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-UPD-NEXT: Addrs: [
-UPD-NEXT: 0x0000000000000018
-UPD-NEXT: 0x0000000000000000
-UPD-NEXT: 0x0000000000000008
-UPD-NEXT: 0x0000000000000010
-UPD-NEXT: ]
-UPD-NEXT: 0x00000028: Address table header: length = 0x0000001c, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-UPD-NEXT: Addrs: [
-UPD-NEXT: 0x0000000000000010
-UPD-NEXT: 0x0000000000000000
-UPD-NEXT: 0x0000000000000008
-UPD-NEXT: ]
-UPD-NEXT: 0x00000048: Address table header: length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
-UPD-NEXT: Addrs: [
-UPD-NEXT: 0x0000000000000000
-UPD-NEXT: ]
diff --git a/llvm/test/tools/dsymutil/ARM/dwarf5-addrx-0x0-last.test b/llvm/test/tools/dsymutil/ARM/dwarf5-addrx-0x0-last.test
deleted file mode 100644
index c9d1560..0000000
--- a/llvm/test/tools/dsymutil/ARM/dwarf5-addrx-0x0-last.test
+++ /dev/null
@@ -1,53 +0,0 @@
-$ cat dwarf5-addrx-0x0-last.c
-#include <stdio.h>
-
-int main (int argc, char const *argv[])
-{
- int pass_me = argc + 10;
- printf("Foo\n");
- printf("Bar\n");
-
- return 0;
-}
-
-$ clang -gdwarf-5 dwarf5-addrx-0x0-last.c -c -o dwarf5-addrx-0x0-last.o
-$ clang dwarf5-addrx-0x0-last.o -o dwarf5-addrx-0x0-last.out
-
-# Sanity check: make sure main's low PC (0x0) requires an index computation
-# into the .debug_addr section.
-RUN: llvm-dwarfdump -debug-addr %p/../Inputs/private/tmp/dwarf5/dwarf5-addrx-0x0-last.o | FileCheck %s --check-prefix DEBUGADDR
-
-DEBUGADDR: Addrs: [
-DEBUGADDR: 0x0000000000000054
-DEBUGADDR: 0x0000000000000059
-DEBUGADDR: 0x0000000000000000
-DEBUGADDR: ]
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/dwarf5/dwarf5-addrx-0x0-last.out -o %t.dSYM 2>&1 | FileCheck %s --allow-empty
-RUN: llvm-dwarfdump --verify %t.dSYM 2>&1 | FileCheck %s
-RUN: llvm-dwarfdump --verbose -debug-info %t.dSYM | FileCheck %s --check-prefix DEBUGINFO
-RUN: llvm-dwarfdump --verbose -debug-line %t.dSYM | FileCheck %s --check-prefix DEBUGLINE
-
-RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs \
-RUN: %p/../Inputs/private/tmp/dwarf5/dwarf5-addrx-0x0-last.out \
-RUN: -o %t.dSYM 2>&1 | FileCheck %s --allow-empty
-RUN: llvm-dwarfdump --verify %t.dSYM 2>&1 | FileCheck %s
-RUN: llvm-dwarfdump --verbose -debug-info %t.dSYM | FileCheck %s --check-prefix DEBUGINFO
-RUN: llvm-dwarfdump --verbose -debug-line %t.dSYM | FileCheck %s --check-prefix DEBUGLINE
-
-
-CHECK-NOT: error:
-
-DEBUGINFO: DW_TAG_subprogram
-DEBUGINFO: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x0000000100003f4c)
-DEBUGINFO: DW_AT_high_pc [DW_FORM_data4] (0x00000054)
-DEBUGINFO: DW_AT_name [DW_FORM_strx] (indexed (00000007) string = "main")
-
-DEBUGLINE: 0x0000000100003f4c 4 0 {{.*}} is_stmt
-DEBUGLINE: 0x0000000100003f6c 5 17 {{.*}} is_stmt prologue_end
-DEBUGLINE: 0x0000000100003f70 5 22 {{.*}}
-DEBUGLINE: 0x0000000100003f74 5 7 {{.*}}
-DEBUGLINE: 0x0000000100003f78 6 3 {{.*}} is_stmt
-DEBUGLINE: 0x0000000100003f84 7 3 {{.*}} is_stmt
-DEBUGLINE: 0x0000000100003f94 9 3 {{.*}} is_stmt epilogue_begin
-DEBUGLINE: 0x0000000100003fa0 9 3 {{.*}} is_stmt end_sequence
diff --git a/llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test b/llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test
deleted file mode 100644
index fb15f46..0000000
--- a/llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test
+++ /dev/null
@@ -1,236 +0,0 @@
-; This test checks to ensure that if a DWARF v5 and DWARF v4 object file is used to
-; generate a dsym, dsymutil correctly outputs the debug information, by keeping
-; the DWARF v5 and DWARF v4 debug info distinct, and that all the section headers
-; have the correct format.
-
-; 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 main () {
-; return 1;
-; }
-
-; clang -g -c -O1 a.cpp -Xclang -gdwarf-5 -o 1.o
-
-; 2.o was produced with the following source file:
-
-; b.cpp
-; __attribute__((section("1,__text_foo2"))) void foo2() {}
-;
-; int bar(int x) {
-; int y = x + 2;
-; return y;
-; }
-
-; clang -g -c -O1 b.cpp -gdwarf-4 -o 2.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-DWARF4-combination -o %t.dir/dwarf5-dwarf4-combination-macho.dSYM
-RUN: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM -a --verbose | FileCheck %s --check-prefixes=CHECK,WITH-PARENTS
-
-RUN: rm -rf %t.dir && mkdir -p %t.dir
-RUN: dsymutil --no-odr --linker parallel -y %p/dummy-debug-map-amr64.map \
-RUN: -oso-prepend-path=%p/../Inputs/DWARF5-DWARF4-combination \
-RUN: -o %t.dir/dwarf5-dwarf4-combination-macho.dSYM
-RUN: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM \
-RUN: -a --verbose | FileCheck %s --check-prefixes=CHECK,NO-PARENTS
-
-### Uncomment following when llvm-dwarfdump will dump address ranges
-### correctly for severall compile units case.
-COM: rm -rf %t.dir && mkdir -p %t.dir
-COM: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
-COM: -oso-prepend-path=%p/../Inputs/DWARF5-DWARF4-combination \
-COM: -o %t.dir/dwarf5-dwarf4-combination-macho.dSYM
-COM: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM \
-COM: -a --verbose | FileCheck %s --check-prefixes=CHECK,CHECK-LLVM
-
-
-CHECK:.debug_abbrev contents:
-CHECK-NEXT: Abbrev table for offset: 0x00000000
-
-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_AT_producer [DW_FORM_strx] (indexed (00000000) string = "Apple clang version 14.0.3 (clang-1403.0.22.14.1)")
-CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000001) string = "a.cpp")
-CHECK: DW_AT_LLVM_sysroot [DW_FORM_strx] (indexed (00000002) string = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk")
-CHECK: DW_AT_APPLE_sdk [DW_FORM_strx] (indexed (00000003) string = "MacOSX.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_AT_ranges [DW_FORM_sec_offset] (0x[[RANGELIST_OFFSET:[0-9a-f]+]]
-CHECK-NEXT: [0x[[RANGELIST_OFFSET_START:[0-9a-f]+]], 0x[[RANGELIST_OFFSET_END:[0-9a-f]+]]))
-CHECK-NEXT: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x[[#%.16x,LOCLIST_LOWPC:]])
-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-NEXT: DW_AT_location [DW_FORM_sec_offset] (0x[[LOCLIST_OFFSET:[0-9a-f]+]]:
-CHECK-NEXT: [0x[[#%.16x,LOCLIST_PAIR_START:]], 0x[[#%.16x,LOCLIST_PAIR_END:]]): [[LOCLIST_EXPR:.*]]
-CHECK-NEXT: [0x[[#%.16x,LOCLIST_PAIR_START2:]], 0x[[#%.16x,LOCLIST_PAIR_END2:]]): [[LOCLIST_EXPR2:.*]])
-CHECK: DW_AT_name [DW_FORM_strx] (indexed (00000007) string = "a")
-
-CHECK: Compile Unit: length = 0x00000072, format = DWARF32, version = 0x0004, abbr_offset = {{.*}}, addr_size = 0x08
-CHECK: DW_AT_producer [DW_FORM_strp] ( .debug_str[0x00000001] = "Apple clang version 14.0.3 (clang-1403.0.22.14.1)")
-CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x000000e0] = "b.cpp")
-CHECK: DW_AT_LLVM_sysroot [DW_FORM_strp] ( .debug_str[0x00000039] = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk")
-CHECK: DW_AT_APPLE_sdk [DW_FORM_strp] ( .debug_str[0x00000098] = "MacOSX.sdk")
-CHECK-NOT: DW_AT_str_offsets_base
-CHECK: DW_AT_comp_dir [DW_FORM_strp] ( .debug_str[0x000000a3] = "/Users/shubham/Development/test109275485")
-CHECK: DW_AT_low_pc [DW_FORM_addr] (0x[[#%.16x,RANGE_LOWPC:]])
-CHECK-NEXT: DW_AT_ranges [DW_FORM_sec_offset] (0x00000000
-CHECK-NEXT: [0x[[#%.16x,RANGE_START:]], 0x[[#%.16x,RANGE_END:]]))
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addr] (0x[[#%.16x,LOC_LOWPC:]])
-CHECK: DW_AT_linkage_name [DW_FORM_strp] ( .debug_str[0x000000e6] = "_Z3bari")
-CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x000000ee] = "bar")
-CHECK: DW_TAG_formal_parameter
-CHECK-NEXT: DW_AT_location [DW_FORM_sec_offset] (0x[[LOC_OFFSET:[0-9a-f]+]]:
-CHECK-NEXT: [0x[[#%.16x,LOC_PAIR_START:]], 0x[[#%.16x,LOC_PAIR_END:]]): [[LOC_EXPR:.*]]
-CHECK-NEXT: [0x[[#%.16x,LOC_PAIR_START2:]], 0x[[#%.16x,LOC_PAIR_END2:]]): [[LOC_EXPR2:.*]])
-CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x000000f2] = "x")
-
-CHECK: .debug_loc contents:
-CHECK-NEXT: 0x[[LOC_OFFSET]]:
-CHECK-NEXT: (0x[[#sub(LOC_PAIR_START,LOC_LOWPC)]], 0x[[#sub(LOC_PAIR_END,LOC_LOWPC)]]): [[LOC_EXPR:.*]]
-CHECK-NEXT: (0x[[#sub(LOC_PAIR_START2,LOC_LOWPC)]], 0x[[#sub(LOC_PAIR_END2,LOC_LOWPC)]]): [[LOC_EXPR2:.*]]
-
-CHECK: .debug_loclists contents:
-CHECK-NEXT: 0x00000000: locations list header: length = 0x00000018, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000
-CHECK-NEXT: 0x[[LOCLIST_OFFSET]]:
-CHECK-NEXT: DW_LLE_base_addressx (0x0000000000000000)
-CHECK-NEXT: DW_LLE_offset_pair (0x[[#sub(LOCLIST_PAIR_START,LOCLIST_LOWPC)]], 0x[[#sub(LOCLIST_PAIR_END,LOCLIST_LOWPC)]])
-CHECK-NEXT: DW_LLE_offset_pair (0x[[#sub(LOCLIST_PAIR_START2,LOCLIST_LOWPC)]], 0x[[#sub(LOCLIST_PAIR_END2,LOCLIST_LOWPC)]])
-CHECK-NEXT: DW_LLE_end_of_list ()
-
-CHECK: .debug_line contents:
-CHECK-NEXT: debug_line[0x00000000]
-CHECK-NEXT: Line table prologue:
-CHECK-NEXT: total_length: 0x0000005a
-CHECK-NEXT: format: DWARF32
-CHECK-NEXT: version: 5
-CHECK-NEXT: address_size: 8
-CHECK-NEXT: seg_select_size: 0
-CHECK-NEXT: prologue_length: 0x00000037
-CHECK-NEXT: min_inst_length: 1
-CHECK-NEXT: max_ops_per_inst: 1
-CHECK-NEXT: default_is_stmt: 1
-CHECK-NEXT: line_base: -5
-CHECK-NEXT: line_range: 14
-CHECK-NEXT: opcode_base: 13
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_copy] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_line] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_file] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_column] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_negate_stmt] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_basic_block] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_const_add_pc] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_fixed_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_prologue_end] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_epilogue_begin] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_isa] = 1
-CHECK-NEXT: include_directories[ 0] = .debug_line_str[0x00000000] = "/Users/shubham/Development/test109275485"
-CHECK-NEXT: file_names[ 0]:
-CHECK-NEXT: name: .debug_line_str[0x00000029] = "a.cpp"
-CHECK-NEXT: dir_index: 0
-
-CHECK: debug_line[0x0000005e]
-CHECK-NEXT: Line table prologue:
-CHECK-NEXT: total_length: 0x0000003b
-CHECK-NEXT: format: DWARF32
-CHECK-NEXT: version: 4
-CHECK-NEXT: prologue_length: 0x0000001d
-CHECK-NEXT: min_inst_length: 1
-CHECK-NEXT: max_ops_per_inst: 1
-CHECK-NEXT: default_is_stmt: 1
-CHECK-NEXT: line_base: -5
-CHECK-NEXT: line_range: 14
-CHECK-NEXT: opcode_base: 13
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_copy] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_line] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_file] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_column] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_negate_stmt] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_basic_block] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_const_add_pc] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_fixed_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_prologue_end] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_epilogue_begin] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_isa] = 1
-CHECK-NEXT: file_names[ 1]:
-CHECK-NEXT: name: "b.cpp"
-CHECK-NEXT: dir_index: 0
-CHECK-NEXT: mod_time: 0x00000000
-CHECK-NEXT: length: 0x00000000
-
-CHECK: .debug_str contents:
-CHECK-NEXT: 0x00000000: ""
-CHECK-NEXT: 0x00000001: "Apple clang version 14.0.3 (clang-1403.0.22.14.1)"
-CHECK-NEXT: 0x00000033: "a.cpp"
-CHECK-NEXT: 0x00000039: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
-CHECK-NEXT: 0x00000098: "MacOSX.sdk"
-CHECK-NEXT: 0x000000a3: "/Users/shubham/Development/test109275485"
-CHECK-NEXT: 0x000000cc: "_Z4foo2i"
-CHECK-NEXT: 0x000000d5: "foo2"
-CHECK-NEXT: 0x000000da: "a"
-CHECK-NEXT: 0x000000dc: "int"
-CHECK-NEXT: 0x000000e0: "b.cpp"
-CHECK-NEXT: 0x000000e6: "_Z3bari"
-CHECK-NEXT: 0x000000ee: "bar"
-CHECK-NEXT: 0x000000f2: "x"
-CHECK-NEXT: 0x000000f4: "y"
-
-CHECK: .debug_line_str contents:
-CHECK-NEXT: 0x00000000: "/Users/shubham/Development/test109275485"
-CHECK-NEXT: 0x00000029: "a.cpp"
-
-CHECK: .debug_ranges contents:
-CHECK-NEXT: 00000000 [[#sub(RANGE_START,RANGE_LOWPC)]] [[#sub(RANGE_END,RANGE_LOWPC)]]
-
-CHECK: .debug_rnglists contents:
-CHECK-NEXT: 0x00000000: range list header: length = 0x0000000e, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000
-CHECK-NEXT: ranges:
-CHECK-NEXT: [[RANGELIST_OFFSET]]: [DW_RLE_base_addressx]: 0x0000000000000000
-CHECK-NEXT: 0x0000000e: [DW_RLE_offset_pair ]: {{.*}}[0x[[RANGELIST_OFFSET_START]], 0x[[RANGELIST_OFFSET_END]])
-CHECK-NEXT: 0x00000011: [DW_RLE_end_of_list ]
-
-CHECK: .debug_str_offsets contents:
-CHECK-NEXT: 0x00000000: Contribution size = 40, Format = DWARF32, Version = 5
-CHECK-NEXT: 0x00000008: 00000001 "Apple clang version 14.0.3 (clang-1403.0.22.14.1)"
-CHECK-NEXT: 0x0000000c: 00000033 "a.cpp"
-CHECK-NEXT: 0x00000010: 00000039 "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
-CHECK-NEXT: 0x00000014: 00000098 "MacOSX.sdk"
-CHECK-NEXT: 0x00000018: 000000a3 "/Users/shubham/Development/test109275485"
-CHECK-NEXT: 0x0000001c: 000000cc "_Z4foo2i"
-CHECK-NEXT: 0x00000020: 000000d5 "foo2"
-CHECK-NEXT: 0x00000024: 000000da "a"
-CHECK-NEXT: 0x00000028: 000000dc "int"
-
-CHECK: .debug_names contents:
-CHECK-NEXT: Name Index @ 0x0 {
-CHECK-NEXT: Header {
-; FIXME: when the parallel dwarf linker is able to generate DW_IDX_parent,
-; these headers should be the same.
-WITH-PARENTS-NEXT: Length: 0xC0
-NO-PARENTS-NEXT: Length: 0xBC
-CHECK-NEXT: Format: DWARF32
-CHECK-NEXT: Version: 5
-CHECK-NEXT: CU count: 2
-CHECK-NEXT: Local TU count: 0
-CHECK-NEXT: Foreign TU count: 0
-CHECK-NEXT: Bucket count: 5
-CHECK-NEXT: Name count: 5
-WITH-PARENTS-NEXT: Abbreviations table size: 0x15
-NO-PARENTS-NEXT: Abbreviations table size: 0x11
-CHECK-NEXT: Augmentation: 'LLVM0700'
-CHECK-NEXT: }
diff --git a/llvm/test/tools/dsymutil/ARM/dwarf5-macho.test b/llvm/test/tools/dsymutil/ARM/dwarf5-macho.test
deleted file mode 100644
index 08c8bba..0000000
--- a/llvm/test/tools/dsymutil/ARM/dwarf5-macho.test
+++ /dev/null
@@ -1,124 +0,0 @@
-; This test checks to that DWARF v5 debug info can be correctly linked
-; into a dSYM bundle by dsymutil, with the correct section names and DWARF v5
-; headers for the different sections.
-
-; 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 main () {
-; return 1;
-; }
-
-; clang -g -c -O1 a.cpp -Xclang -gdwarf-5 -o 1.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 -o %t.dir/dwarf5-macho.dSYM
-RUN: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s
-
-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 -o %t.dir/dwarf5-macho.dSYM
-RUN: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s
-
-### Uncomment following when llvm-dwarfdump will print resolved address ranges
-### for the case mutiplue compile units.
-COM: rm -rf %t.dir && mkdir -p %t.dir
-COM: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
-COM: -oso-prepend-path=%p/../Inputs/DWARF5 -o %t.dir/dwarf5-macho.dSYM
-COM: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s \
-COM: --check-prefixes=CHECK,CHECK-LLVM
-
-
-CHECK:.debug_abbrev contents:
-CHECK-NEXT: Abbrev table for offset: 0x00000000
-
-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_AT_ranges [DW_FORM_sec_offset] (0x[[RANGELIST_OFFSET:[0-9a-f]+]]
-CHECK-NEXT: [0x[[RANGELIST_OFFSET_START:[0-9a-f]+]], 0x[[RANGELIST_OFFSET_END:[0-9a-f]+]]))
-CHECK-NEXT: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
-CHECK: DW_TAG_subprogram
-CHECK-NEXT: DW_AT_low_pc [DW_FORM_addrx] (indexed (00000000) address = 0x[[#%.16x,LOCLIST_LOWPC:]])
-CHECK: DW_TAG_formal_parameter
-CHECK-NEXT: DW_AT_location [DW_FORM_sec_offset] (0x[[LOC_OFFSET:[0-9a-f]+]]:
-CHECK-NEXT: [0x[[#%.16x,LOCLIST_PAIR_START:]], 0x[[#%.16x,LOCLIST_PAIR_END:]]): [[LOCLIST_EXPR:.*]]
-CHECK-NEXT: [0x[[#%.16x,LOCLIST_PAIR_START2:]], 0x[[#%.16x,LOCLIST_PAIR_END2:]]): [[LOCLIST_EXPR2:.*]])
-
-CHECK: .debug_loclists contents:
-CHECK-NEXT: 0x00000000: locations list header: length = 0x00000018, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000
-CHECK-NEXT: 0x[[LOC_OFFSET]]:
-CHECK-NEXT: DW_LLE_base_addressx (0x0000000000000000)
-CHECK-NEXT: DW_LLE_offset_pair (0x[[#sub(LOCLIST_PAIR_START,LOCLIST_LOWPC)]], 0x[[#sub(LOCLIST_PAIR_END,LOCLIST_LOWPC)]])
-CHECK-NEXT: DW_LLE_offset_pair (0x[[#sub(LOCLIST_PAIR_START2,LOCLIST_LOWPC)]], 0x[[#sub(LOCLIST_PAIR_END2,LOCLIST_LOWPC)]])
-CHECK-NEXT: DW_LLE_end_of_list ()
-
-CHECK: .debug_line contents:
-CHECK-NEXT: debug_line[0x00000000]
-CHECK-NEXT: Line table prologue:
-CHECK-NEXT: total_length: 0x0000005a
-CHECK-NEXT: format: DWARF32
-CHECK-NEXT: version: 5
-CHECK-NEXT: address_size: 8
-CHECK-NEXT: seg_select_size: 0
-CHECK-NEXT: prologue_length: 0x00000037
-CHECK-NEXT: min_inst_length: 1
-CHECK-NEXT: max_ops_per_inst: 1
-CHECK-NEXT: default_is_stmt: 1
-CHECK-NEXT: line_base: -5
-CHECK-NEXT: line_range: 14
-CHECK-NEXT: opcode_base: 13
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_copy] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_advance_line] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_file] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_column] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_negate_stmt] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_basic_block] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_const_add_pc] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_fixed_advance_pc] = 1
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_prologue_end] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_epilogue_begin] = 0
-CHECK-NEXT: standard_opcode_lengths[DW_LNS_set_isa] = 1
-CHECK-NEXT: include_directories[ 0] = .debug_line_str[0x00000000] = "/Users/shubham/Development/test109275485"
-CHECK-NEXT: file_names[ 0]:
-CHECK-NEXT: name: .debug_line_str[0x00000029] = "a.cpp"
-CHECK-NEXT: dir_index: 0
-CHECK-NEXT: md5_checksum: 2675ab7ce3623b564cfd8a2906a462e5
-
-
-CHECK: .debug_str contents:
-
-CHECK: .debug_line_str contents:
-CHECK-NEXT: 0x00000000: "/Users/shubham/Development/test109275485"
-CHECK-NEXT: 0x00000029: "a.cpp"
-
-CHECK: .debug_rnglists contents:
-CHECK-NEXT: 0x00000000: range list header: length = 0x0000000e, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000
-CHECK-NEXT: ranges:
-CHECK-NEXT: [[RANGELIST_OFFSET]]: [DW_RLE_base_addressx]: 0x0000000000000000
-CHECK-NEXT: 0x0000000e: [DW_RLE_offset_pair ]: {{.*}}[0x[[RANGELIST_OFFSET_START]], 0x[[RANGELIST_OFFSET_END]])
-CHECK-NEXT: 0x00000011: [DW_RLE_end_of_list ]
-
-CHECK: .debug_names contents:
-CHECK-NEXT: Name Index @ 0x0 {
-CHECK-NEXT: Header {
-CHECK-NEXT: Length:
-CHECK-NEXT: Format: DWARF32
-CHECK-NEXT: Version: 5
-CHECK-NEXT: CU count: 1
-CHECK-NEXT: Local TU count: 0
-CHECK-NEXT: Foreign TU count: 0
-CHECK-NEXT: Bucket count: 3
-CHECK-NEXT: Name count: 3
-CHECK-NEXT: Abbreviations table size:
-CHECK-NEXT: Augmentation: 'LLVM0700'
-CHECK-NEXT: }
diff --git a/llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test b/llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test
deleted file mode 100644
index 4e6c666..0000000
--- a/llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test
+++ /dev/null
@@ -1,433 +0,0 @@
-; 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"
diff --git a/llvm/test/tools/dsymutil/ARM/extern-alias.test b/llvm/test/tools/dsymutil/ARM/extern-alias.test
deleted file mode 100644
index 5764063..0000000
--- a/llvm/test/tools/dsymutil/ARM/extern-alias.test
+++ /dev/null
@@ -1,46 +0,0 @@
-$ cat private_extern.c
-__attribute__((visibility("hidden")))
-int* foo() {
- int i = 10;
- volatile int* j = &i;
- return j;
-}
-
-int* bar() {
- return foo();
-}
-
-$ cat extern.c
-__attribute__((visibility("hidden")))
-int* foo() {
- int i = 10;
- volatile int* j = &i;
- return j;
-}
-
-int* bar() {
- return foo();
-}
-
-$ cat main.c
-int* bar();
-int main() {
- return *bar();
-}
-
-$ cat alias_list
-_foo _baz
-
-$ xcrun --sdk iphoneos clang -g private_extern.c -c -o private_extern.o -target arm64-apple-ios14.0
-$ xcrun --sdk iphoneos clang -g main.c -c -o main.o -target arm64-apple-ios14.0
-$ xcrun --sdk iphoneos clang private_extern.o main.o -target arm64-apple-ios14.0 -o private_extern.out -Xlinker -alias_list -Xlinker alias_list
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
-
-RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
-RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
-
-CHECK-NOT: could not find symbol '_baz'
-CHECK: { sym: _baz, objAddr: 0x0, binAddr: 0x100007F58, size: 0x0 }
-CHECK: { sym: _foo, objAddr: 0x0, binAddr: 0x100007F58, size: 0x20 }
diff --git a/llvm/test/tools/dsymutil/ARM/fat-arch-name.test b/llvm/test/tools/dsymutil/ARM/fat-arch-name.test
deleted file mode 100644
index 1fdcc06..0000000
--- a/llvm/test/tools/dsymutil/ARM/fat-arch-name.test
+++ /dev/null
@@ -1,22 +0,0 @@
-# RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
-
-# RUN: dsymutil --linker parallel -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
-
-# We detect thumb triples from the binaries, because those are the only ones
-# that are guaranteed to be able to generate a Target instance (for example
-# we would detect armv7m-apple-darwin as non-thumb triple, but you can't
-# instantiate a Target from that). In the user-visible architecture names, and
-# in the lipo invocation, we need to rewrite the thumb arch names to the arm
-# ones.
-
-# CHECK: warning: no debug symbols in executable (-arch armv7)
-
-# CHECK: warning: no debug symbols in executable (-arch armv7s)
-
-# CHECK: warning: no debug symbols in executable (-arch arm64)
-
-# CHECK: Running lipo
-# CHECK-NEXT: lipo -create
-# CHECK-SAME: -segalign armv7
-# CHECK-SAME: -segalign armv7s
-# CHECK-SAME: -segalign arm64
diff --git a/llvm/test/tools/dsymutil/ARM/fat-threading.test b/llvm/test/tools/dsymutil/ARM/fat-threading.test
deleted file mode 100644
index acb1175..0000000
--- a/llvm/test/tools/dsymutil/ARM/fat-threading.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# By default, dsymutil spawns one thread per architecture and this test just
-# ensures that things don't break when processing multiple archs.
-# RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null 2>&1
diff --git a/llvm/test/tools/dsymutil/ARM/firmware.test b/llvm/test/tools/dsymutil/ARM/firmware.test
deleted file mode 100644
index 128faa50a..0000000
--- a/llvm/test/tools/dsymutil/ARM/firmware.test
+++ /dev/null
@@ -1,11 +0,0 @@
-$ cat test.c
-int main() {
- return 0;
-}
-
-$ xcrun clang -O0 -target arm64-apple-unknown-macho test.c -c -o test.o
-$ xcrun ld -arch arm64 -o test.out test.o -platform_version firmware 0 0
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/firmware/test.out -o %t.dSYM
-RUN: llvm-objdump -h %t.dSYM/Contents/Resources/DWARF/test.out | FileCheck %s
-CHECK: file format mach-o arm64
diff --git a/llvm/test/tools/dsymutil/ARM/inline-source.test b/llvm/test/tools/dsymutil/ARM/inline-source.test
deleted file mode 100644
index e1c552f..0000000
--- a/llvm/test/tools/dsymutil/ARM/inline-source.test
+++ /dev/null
@@ -1,21 +0,0 @@
-# RUN: rm -rf %t
-# RUN: mkdir -p %t
-# RUN: llc -filetype=obj -mtriple arm64-apple-darwin %p/../Inputs/inline.ll -o %t/inline.o
-# RUN: dsymutil -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
-# RUN: dsymutil --linker=parallel -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
-
-# Test inline source files.
-
----
-triple: 'arm64-apple-darwin'
-objects:
- - filename: inline.o
- symbols:
- - { sym: _f, objAddr: 0x0, binAddr: 0x1000, size: 0x12 }
-...
-
-# CHECK: .debug_line contents:
-# CHECK: file_names[ 1]:
-# CHECK-NEXT: name: "inlined.c"
-# CHECK-NEXT: dir_index: 1
-# CHECK-NEXT: source: "{{.*}}This is inline source code.
diff --git a/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c b/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c
deleted file mode 100644
index ad48b59..0000000
--- a/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Compiled with: clang -arch=arm64 -O2 -g -c inlined_low_pc.c */
-
-static int foo(int i) { return 42 + i; }
-int bar(int a) { return foo(a); }
-
-// RUN: dsymutil -f -y %p/dummy-debug-map-amr64.map -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | llvm-dwarfdump - | FileCheck %s
-
-// RUN: dsymutil --linker parallel -f -y %p/dummy-debug-map-amr64.map \
-// RUN: -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | \
-// RUN: llvm-dwarfdump - | FileCheck %s
-
-// CHECK: DW_TAG_subprogram
-// CHECK: DW_AT_low_pc{{.*}}0x0000000000010000
-// CHECK: DW_AT_name{{.*}}"bar"
-// CHECK-NOT: NULL
-// CHECK: DW_TAG_inlined_subroutine
-// CHECK-NEXT: DW_AT_abstract_origin{{.*}}"foo"
-// CHECK-NEXT: DW_AT_low_pc{{.*}}0x0000000000010000
-
diff --git a/llvm/test/tools/dsymutil/ARM/lit.local.cfg b/llvm/test/tools/dsymutil/ARM/lit.local.cfg
index d951f4f..6c4647c 100644
--- a/llvm/test/tools/dsymutil/ARM/lit.local.cfg
+++ b/llvm/test/tools/dsymutil/ARM/lit.local.cfg
@@ -1,7 +1,5 @@
if not "ARM" in config.root.targets:
config.unsupported = True
-if not "AArch64" in config.root.targets:
- config.unsupported = True
if config.llvm_use_sanitizer:
suppr = os.path.join(
diff --git a/llvm/test/tools/dsymutil/ARM/missing-object-warning.test b/llvm/test/tools/dsymutil/ARM/missing-object-warning.test
deleted file mode 100644
index 62b3ecb..0000000
--- a/llvm/test/tools/dsymutil/ARM/missing-object-warning.test
+++ /dev/null
@@ -1,5 +0,0 @@
-RUN: dsymutil -oso-prepend-path %p/../Inputs --dump-debug-map %p/../Inputs/private/tmp/missing/foobar.out 2>&1 | FileCheck %s
-
-CHECK: bar.o unable to open object file
-CHECK-NOT: could not find object file symbol for symbol _bar
-CHECK-NOT: could not find object file symbol for symbol _main
diff --git a/llvm/test/tools/dsymutil/ARM/missing-symbol-warning.test b/llvm/test/tools/dsymutil/ARM/missing-symbol-warning.test
deleted file mode 100644
index 1de805d..0000000
--- a/llvm/test/tools/dsymutil/ARM/missing-symbol-warning.test
+++ /dev/null
@@ -1,3 +0,0 @@
-RUN: dsymutil -oso-prepend-path %p/../Inputs --dump-debug-map %p/../Inputs/private/tmp/warning/test.out 2>&1 | FileCheck %s
-# CHECK: could not find symbol '_foo' in object file '{{.*}}test.o'
-# CHECK: { sym: _main, objAddr: 0x0, binAddr: 0x100003F84, size: 0x1C }
diff --git a/llvm/test/tools/dsymutil/ARM/preload.test b/llvm/test/tools/dsymutil/ARM/preload.test
deleted file mode 100644
index 2c45220..0000000
--- a/llvm/test/tools/dsymutil/ARM/preload.test
+++ /dev/null
@@ -1,15 +0,0 @@
-$ cat foo.c
-void start(void) asm("start");
-void start(void) {}
-$ xcrun clang -c -o foo.o foo.c -g3
-$ xcrun clang -o foo foo.o -g3 -Wl,-preload -nodefaultlibs
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
-RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
-RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s
-
-RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
-RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
-RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s
-
-CHECK: start
diff --git a/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle-empty.test b/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle-empty.test
deleted file mode 100644
index 0a89fa1..0000000
--- a/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle-empty.test
+++ /dev/null
@@ -1,13 +0,0 @@
-RUN: rm -rf %t
-RUN: mkdir -p %t
-RUN: cat %p/../Inputs/remarks/basic.macho.remarks.empty.arm64 > %t/basic.macho.remarks.empty.arm64
-
-RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.empty.arm64
-
-Check that the remark file in the bundle does not exist:
-RUN: not cat %t/basic.macho.remarks.empty.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.arm64 2>&1
-
-RUN: dsymutil --linker parallel -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%p/../Inputs %t/basic.macho.remarks.empty.arm64
-
-Check that the remark file in the bundle does not exist:
-RUN: not cat %t/basic.macho.remarks.empty.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.empty.arm64 2>&1
diff --git a/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle.test b/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle.test
deleted file mode 100644
index e1b0445..0000000
--- a/llvm/test/tools/dsymutil/ARM/remarks-linking-bundle.test
+++ /dev/null
@@ -1,81 +0,0 @@
-RUN: rm -rf %t
-RUN: mkdir -p %t/private/tmp/remarks
-RUN: cat %p/../Inputs/remarks/basic.macho.remarks.arm64> %t/basic.macho.remarks.arm64
-RUN: llvm-remarkutil yaml2bitstream %p/../Inputs/private/tmp/remarks/basic1.macho.remarks.arm64.opt.yaml -o %t/private/tmp/remarks/basic1.macho.remarks.arm64.opt.bitstream
-RUN: llvm-remarkutil yaml2bitstream %p/../Inputs/private/tmp/remarks/basic2.macho.remarks.arm64.opt.yaml -o %t/private/tmp/remarks/basic2.macho.remarks.arm64.opt.bitstream
-RUN: llvm-remarkutil yaml2bitstream %p/../Inputs/private/tmp/remarks/basic3.macho.remarks.arm64.opt.yaml -o %t/private/tmp/remarks/basic3.macho.remarks.arm64.opt.bitstream
-
-RUN: dsymutil -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%t %t/basic.macho.remarks.arm64
-
-Check that the remark file in the bundle exists and is sane:
-RUN: llvm-bcanalyzer -dump %t/basic.macho.remarks.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.arm64 | FileCheck %s
-
-RUN: dsymutil --linker parallel -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%t %t/basic.macho.remarks.arm64
-
-Check that the remark file in the bundle exists and is sane:
-RUN: llvm-bcanalyzer -dump %t/basic.macho.remarks.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.arm64 | FileCheck %s
-
-Now emit it in a different format: YAML.
-RUN: dsymutil -remarks-output-format=yaml -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%t %t/basic.macho.remarks.arm64
-RUN: cat %t/basic.macho.remarks.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.arm64 | FileCheck %s --check-prefix=CHECK-YAML
-
-RUN: dsymutil --linker parallel -remarks-output-format=yaml -oso-prepend-path=%p/../Inputs -remarks-prepend-path=%t %t/basic.macho.remarks.arm64
-RUN: cat %t/basic.macho.remarks.arm64.dSYM/Contents/Resources/Remarks/basic.macho.remarks.arm64 | FileCheck %s --check-prefix=CHECK-YAML
-
-CHECK: <Meta
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK: <Remark Num
-CHECK-NOT: <Remark Num
-CHECK: <Meta
-
-CHECK-YAML:--- !Passed
-CHECK-YAML:--- !Passed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Missed
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-YAML:--- !Analysis
-CHECK-NOT: --- !
diff --git a/llvm/test/tools/dsymutil/ARM/static-archive-collision.test b/llvm/test/tools/dsymutil/ARM/static-archive-collision.test
deleted file mode 100644
index 55fd5e6..0000000
--- a/llvm/test/tools/dsymutil/ARM/static-archive-collision.test
+++ /dev/null
@@ -1,26 +0,0 @@
-$ cat f.c
-int f() {
- volatile int i;
- return i;
-}
-$ cat g.c
-int g() {
- volatile int i;
- return i;
-}
-$ cat main.c
-int f();
-int g();
-
-int main() {
- return f() + g();
-}
-$ clang -g f.c -c -o f/foo.o
-$ clang -g g.c -c -o g/foo.o
-$ libtool -static f/foo.o g/foo.o -o foo.a
-$ clang main.o foo.a -o main.out
-
-RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/collision/main.out --dump-debug-map 2>&1 | FileCheck %s
-CHECK: skipping debug map object with duplicate name and timestamp: {{.*}} /private/tmp/collision/foo.a(foo.o)
-CHECK-NOT: could not find symbol '_g'
-CHECK-NOT: could not find symbol '_f'
diff --git a/llvm/test/tools/dsymutil/ARM/stmt-seq-macho.test b/llvm/test/tools/dsymutil/ARM/stmt-seq-macho.test
deleted file mode 100644
index db223cd..0000000
--- a/llvm/test/tools/dsymutil/ARM/stmt-seq-macho.test
+++ /dev/null
@@ -1,2069 +0,0 @@
-## Test that verifies DW_AT_LLVM_stmt_sequence attributes are correctly patched in the dSYM
-
-# RUN: rm -rf %t && split-file %s %t && cd %t
-# RUN: yaml2obj %t/stmt_seq_macho.exe.yaml -o %t/stmt_seq_macho.exe
-# RUN: yaml2obj %t/stmt_seq_macho.o.yaml -o %t/stmt_seq_macho.o
-# RUN: dsymutil --flat --verify-dwarf=none -oso-prepend-path %t %t/stmt_seq_macho.exe -o %t/stmt_seq_macho.dSYM
-# RUN: llvm-dwarfdump --debug-info --debug-line -v %t/stmt_seq_macho.dSYM | sort | FileCheck %s -check-prefix=CHECK_DSYM
-# RUN: llvm-dwarfdump --debug-info --debug-line -v %t/stmt_seq_macho.dSYM > %t/stmt_seq_macho.dSYM.txt
-# RUN: cat %t/stmt_seq_macho.dSYM.txt | sort | FileCheck %s -check-prefix=CHECK_DSYM
-# RUN: cat %t/stmt_seq_macho.dSYM.txt | FileCheck %s -check-prefix=CHECK_NO_INVALID_OFFSET
-# RUN: cat stmt_seq_macho.dSYM.txt | grep DW_AT_LLVM_stmt_sequence | sort | uniq -d | wc -l | FileCheck %s -check-prefix=CHECK_NO_DUPLICATES
-
-# CHECK_NO_DUPLICATES: 0
-# CHECK_NO_INVALID_OFFSET-NOT: DW_AT_LLVM_stmt_sequence{{.*}}0xfffffff
-# CHECK_DSYM: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] ([[OFFSET1:(0x[0-9a-f]+)]])
-# CHECK_DSYM: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] ([[OFFSET2:(0x[0-9a-f]+)]])
-# CHECK_DSYM: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] ([[OFFSET3:(0x[0-9a-f]+)]])
-# CHECK_DSYM: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] ([[OFFSET4:(0x[0-9a-f]+)]])
-
-# CHECK_DSYM: [[OFFSET1]]: 00 DW_LNE_set_address
-# CHECK_DSYM: [[OFFSET2]]: 00 DW_LNE_set_address
-# CHECK_DSYM: [[OFFSET3]]: 00 DW_LNE_set_address
-# CHECK_DSYM: [[OFFSET4]]: 00 DW_LNE_set_address
-
-#--- stmt_seq_macho.cpp
-#define ATTRIB extern "C" __attribute__((noinline))
-ATTRIB int function1_copy1(int a) {
- return ++a;
-}
-
-ATTRIB int function3_copy1(int a) {
- int b = a + 3;
- return b + 1;
-}
-
-ATTRIB int function2_copy1(int a) {
- return a - 22;
-}
-
-ATTRIB int function3_copy2(int a) {
- int b = a + 3;
- return b + 1;
-}
-
-ATTRIB int function2_copy2(int a) {
- int result = a - 22;
- return result;
-}
-
-struct logic_error {
- logic_error(const char* s) {}
-};
-
-struct length_error : public logic_error {
- __attribute__((noinline)) explicit length_error(const char* s) : logic_error(s) {}
-};
-
-int main() {
- int sum = 0;
- sum += function2_copy2(3);
- sum += function3_copy2(41);
- sum += function2_copy1(11);
- sum += function1_copy1(42);
- length_error e("test");
- return sum;
-}
-
-#--- gen
-# Compile to an object file
-clang --target=arm64-apple-macos11 \
- -c \
- -fdebug-compilation-dir=/private/tmp/stmt_seq \
- -g \
- -gdwarf-4 \
- -fno-unwind-tables \
- -mllvm -emit-func-debug-line-table-offsets \
- -fno-exceptions \
- -mno-outline \
- -Oz \
- stmt_seq_macho.cpp \
- -o stmt_seq_macho.o
-
-# Link into an executable
-ld64.lld \
- -arch arm64 \
- -platform_version macos 11.0.0 11.0.0 \
- -o stmt_seq_macho.exe \
- stmt_seq_macho.o \
- -dead_strip \
- --icf=all \
- -oso_prefix $(pwd)/ \
- --keep-icf-stabs
-
-# Convert executable to YAML for the test
-echo "#--- stmt_seq_macho.o.yaml"
-obj2yaml stmt_seq_macho.o | sed '1a\
-IsLittleEndian: true'
-echo ""
-echo "#--- stmt_seq_macho.exe.yaml"
-obj2yaml stmt_seq_macho.exe | sed '1a\
-IsLittleEndian: true'
-
-#--- stmt-seq-macho.yaml
-#--- stmt_seq_macho.o.yaml
---- !mach-o
-IsLittleEndian: true
-FileHeader:
- magic: 0xFEEDFACF
- cputype: 0x100000C
- cpusubtype: 0x0
- filetype: 0x1
- ncmds: 5
- sizeofcmds: 1176
- flags: 0x2000
- reserved: 0x0
-LoadCommands:
- - cmd: LC_SEGMENT_64
- cmdsize: 1032
- segname: ''
- vmaddr: 0
- vmsize: 3125
- fileoff: 1208
- filesize: 3125
- maxprot: 7
- initprot: 7
- nsects: 12
- flags: 0
- Sections:
- - sectname: __text
- segname: __TEXT
- addr: 0x0
- size: 148
- offset: 0x4B8
- align: 2
- reloff: 0x10F0
- nreloc: 8
- flags: 0x80000400
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 00040011C0035FD600100011C0035FD600580051C0035FD600100011C0035FD600580051C0035FD6FFC300D1F44F01A9FD7B02A9FD8300916000805200000094F30300AA20058052000000941400130B6001805200000094F30300AA40058052000000947302000B0100009021000091E03F0091000000948002130BFD7B42A9F44F41A9FFC30091C0035FD600000014C0035FD6
- relocations:
- - address: 0x8C
- symbolnum: 4
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - address: 0x74
- symbolnum: 3
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - address: 0x6C
- symbolnum: 1
- pcrel: false
- length: 2
- extern: true
- type: 4
- scattered: false
- value: 0
- - address: 0x68
- symbolnum: 1
- pcrel: true
- length: 2
- extern: true
- type: 3
- scattered: false
- value: 0
- - address: 0x60
- symbolnum: 5
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - address: 0x54
- symbolnum: 6
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - address: 0x48
- symbolnum: 9
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - address: 0x3C
- symbolnum: 7
- pcrel: true
- length: 2
- extern: true
- type: 2
- scattered: false
- value: 0
- - sectname: __cstring
- segname: __TEXT
- addr: 0x94
- size: 5
- offset: 0x54C
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: '7465737400'
- - sectname: __debug_loc
- segname: __DWARF
- addr: 0x99
- size: 412
- offset: 0x551
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 08000000000000000C000000000000000100500C0000000000000010000000000000000400A301509F0000000000000000000000000000000008000000000000000C00000000000000030070039F0000000000000000000000000000000010000000000000001400000000000000010050140000000000000018000000000000000400A301509F0000000000000000000000000000000018000000000000001C000000000000000100501C0000000000000020000000000000000400A301509F0000000000000000000000000000000018000000000000001C00000000000000030070039F0000000000000000000000000000000020000000000000002400000000000000010050240000000000000028000000000000000400A301509F00000000000000000000000000000000240000000000000028000000000000000100500000000000000000000000000000000038000000000000004400000000000000030011009F4400000000000000500000000000000001006350000000000000005C0000000000000001006400000000000000000000000000000000
- - sectname: __debug_abbrev
- segname: __DWARF
- addr: 0x235
- size: 372
- offset: 0x6ED
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- - sectname: __debug_info
- segname: __DWARF
- addr: 0x3A9
- size: 747
- offset: 0x861
- align: 0
- reloff: 0x1130
- nreloc: 16
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- relocations:
- - address: 0x2A7
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x28E
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x253
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x1F5
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x1E1
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x1CE
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x1BA
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x1A7
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x169
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x12D
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0xF1
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0xC4
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x88
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x5F
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x37
- symbolnum: 2
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x22
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - sectname: __debug_str
- segname: __DWARF
- addr: 0x694
- size: 400
- offset: 0xB4C
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- - sectname: __apple_names
- segname: __DWARF
- addr: 0x824
- size: 288
- offset: 0xCDC
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 485341480100000009000000090000000C00000000000000010000000100060000000000FFFFFFFFFFFFFFFF0100000003000000040000000600000007000000080000004A08311CC78E3C8288CB36CF89CB36CFD1125E53522B705390D9F86F6A7F9A7C4908311C8C0000009C000000AC000000BC000000CC000000DC000000EC00000000010000100100000601000001000000F000000000000000D6000000010000005E00000000000000F600000001000000C30000000000000016010000010000002C01000000000000440100000100000052020000000000005C01000001000000A6020000000000002B0100000200000052020000A60200000000000026010000010000006801000000000000E6000000010000008700000000000000
- - sectname: __apple_objc
- segname: __DWARF
- addr: 0x944
- size: 36
- offset: 0xDFC
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF
- - sectname: __apple_namespac
- segname: __DWARF
- addr: 0x968
- size: 36
- offset: 0xE20
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF
- - sectname: __apple_types
- segname: __DWARF
- addr: 0x98C
- size: 195
- offset: 0xE44
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 48534148010000000500000005000000140000000000000003000000010006000300050004000B000000000002000000FFFFFFFF03000000040000007CA8F05D90D9F86F5B738CDC3080880B6320957C64000000770000008A0000009D000000B0000000380100000100000027020000130000000000002B010000010000000502000013000000000000C20000000100000057000000240000000000007401000001000000DE02000024000000000000BD000000010000005000000024000000000000
- - sectname: __debug_frame
- segname: __DWARF
- addr: 0xA50
- size: 232
- offset: 0xF08
- align: 3
- reloff: 0x11B0
- nreloc: 8
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 14000000FFFFFFFF0400080001781E0C1F00000000000000140000000000000000000000000000000800000000000000140000000000000008000000000000000800000000000000140000000000000010000000000000000800000000000000140000000000000018000000000000000800000000000000140000000000000020000000000000000800000000000000240000000000000028000000000000006400000000000000500C1D109E019D02930394040000000014000000000000008C000000000000000400000000000000140000000000000090000000000000000400000000000000
- relocations:
- - address: 0xD8
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0xC0
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x98
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x80
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x68
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x50
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x38
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x20
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - sectname: __debug_line
- segname: __DWARF
- addr: 0xB38
- size: 253
- offset: 0xFF0
- align: 0
- reloff: 0x11F0
- nreloc: 8
- flags: 0x2000000
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- relocations:
- - address: 0xED
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0xD9
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0xAA
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x96
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x7E
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x66
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x50
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - address: 0x3A
- symbolnum: 1
- pcrel: false
- length: 3
- extern: false
- type: 0
- scattered: false
- value: 0
- - cmd: LC_BUILD_VERSION
- cmdsize: 24
- platform: 1
- minos: 720896
- sdk: 0
- ntools: 0
- - cmd: LC_LINKER_OPTIMIZATION_HINT
- cmdsize: 16
- dataoff: 4656
- datasize: 8
- - cmd: LC_SYMTAB
- cmdsize: 24
- symoff: 4664
- nsyms: 11
- stroff: 4840
- strsize: 168
- - cmd: LC_DYSYMTAB
- cmdsize: 80
- ilocalsym: 0
- nlocalsym: 3
- iextdefsym: 3
- nextdefsym: 8
- iundefsym: 11
- nundefsym: 0
- tocoff: 0
- ntoc: 0
- modtaboff: 0
- nmodtab: 0
- extrefsymoff: 0
- nextrefsyms: 0
- indirectsymoff: 0
- nindirectsyms: 0
- extreloff: 0
- nextrel: 0
- locreloff: 0
- nlocrel: 0
-LinkEditData:
- NameList:
- - n_strx: 155
- n_type: 0xE
- n_sect: 1
- n_desc: 0
- n_value: 0
- - n_strx: 1
- n_type: 0xE
- n_sect: 2
- n_desc: 0
- n_value: 148
- - n_strx: 149
- n_type: 0xE
- n_sect: 2
- n_desc: 0
- n_value: 148
- - n_strx: 39
- n_type: 0xF
- n_sect: 1
- n_desc: 192
- n_value: 140
- - n_strx: 14
- n_type: 0xF
- n_sect: 1
- n_desc: 192
- n_value: 144
- - n_strx: 132
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 0
- - n_strx: 115
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 16
- - n_strx: 81
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 32
- - n_strx: 98
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 8
- - n_strx: 64
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 24
- - n_strx: 8
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 40
- StringTable:
- - ''
- - l_.str
- - _main
- - __ZN12length_errorC2EPKc
- - __ZN12length_errorC1EPKc
- - _function3_copy2
- - _function2_copy2
- - _function3_copy1
- - _function2_copy1
- - _function1_copy1
- - ltmp1
- - ltmp0
- - ''
- - ''
- - ''
- - ''
- - ''
- - ''
- - ''
-DWARF:
- debug_str:
- - 'Facebook clang version 19.1.5 (https://git.internal.tfbnw.net/repos/git/rw/osmeta/external/llvm-project b36c9ae1f8f2b39e4aafb9ca4700c608c3036365)'
- - stmt_seq_macho.cpp
- - '/'
- - '/private/tmp/stmt_seq'
- - char
- - __ARRAY_SIZE_TYPE__
- - function1_copy1
- - function3_copy1
- - function2_copy1
- - function3_copy2
- - function2_copy2
- - main
- - length_error
- - logic_error
- - _ZN12length_errorC1EPKc
- - _ZN12length_errorC2EPKc
- - int
- - a
- - b
- - result
- - e
- - sum
- - this
- - s
- debug_abbrev:
- - ID: 0
- Table:
- - Code: 0x1
- Tag: DW_TAG_compile_unit
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_producer
- Form: DW_FORM_strp
- - Attribute: DW_AT_language
- Form: DW_FORM_data2
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_LLVM_sysroot
- Form: DW_FORM_strp
- - Attribute: DW_AT_stmt_list
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_comp_dir
- Form: DW_FORM_strp
- - Attribute: DW_AT_APPLE_optimized
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_low_pc
- Form: DW_FORM_addr
- - Attribute: DW_AT_high_pc
- Form: DW_FORM_data4
- - Code: 0x2
- Tag: DW_TAG_variable
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_location
- Form: DW_FORM_exprloc
- - Code: 0x3
- Tag: DW_TAG_array_type
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0x4
- Tag: DW_TAG_subrange_type
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_count
- Form: DW_FORM_data1
- - Code: 0x5
- Tag: DW_TAG_const_type
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0x6
- Tag: DW_TAG_base_type
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_encoding
- Form: DW_FORM_data1
- - Attribute: DW_AT_byte_size
- Form: DW_FORM_data1
- - Code: 0x7
- Tag: DW_TAG_base_type
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_byte_size
- Form: DW_FORM_data1
- - Attribute: DW_AT_encoding
- Form: DW_FORM_data1
- - Code: 0x8
- Tag: DW_TAG_subprogram
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_low_pc
- Form: DW_FORM_addr
- - Attribute: DW_AT_high_pc
- Form: DW_FORM_data4
- - Attribute: DW_AT_APPLE_omit_frame_ptr
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_LLVM_stmt_sequence
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_frame_base
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_call_all_calls
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_external
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_APPLE_optimized
- Form: DW_FORM_flag_present
- - Code: 0x9
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0xA
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0xB
- Tag: DW_TAG_variable
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0xC
- Tag: DW_TAG_subprogram
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_low_pc
- Form: DW_FORM_addr
- - Attribute: DW_AT_high_pc
- Form: DW_FORM_data4
- - Attribute: DW_AT_LLVM_stmt_sequence
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_frame_base
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_call_all_calls
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_external
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_APPLE_optimized
- Form: DW_FORM_flag_present
- - Code: 0xD
- Tag: DW_TAG_variable
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0xE
- Tag: DW_TAG_call_site
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_call_origin
- Form: DW_FORM_ref4
- - Attribute: DW_AT_call_return_pc
- Form: DW_FORM_addr
- - Code: 0xF
- Tag: DW_TAG_call_site_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_call_value
- Form: DW_FORM_exprloc
- - Code: 0x10
- Tag: DW_TAG_structure_type
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_calling_convention
- Form: DW_FORM_data1
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_byte_size
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Code: 0x11
- Tag: DW_TAG_inheritance
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_data_member_location
- Form: DW_FORM_data1
- - Code: 0x12
- Tag: DW_TAG_subprogram
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_declaration
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_external
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_APPLE_optimized
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_explicit
- Form: DW_FORM_flag_present
- - Code: 0x13
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_artificial
- Form: DW_FORM_flag_present
- - Code: 0x14
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0x15
- Tag: DW_TAG_subprogram
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_declaration
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_external
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_APPLE_optimized
- Form: DW_FORM_flag_present
- - Code: 0x16
- Tag: DW_TAG_pointer_type
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0x17
- Tag: DW_TAG_subprogram
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_low_pc
- Form: DW_FORM_addr
- - Attribute: DW_AT_high_pc
- Form: DW_FORM_data4
- - Attribute: DW_AT_APPLE_omit_frame_ptr
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_LLVM_stmt_sequence
- Form: DW_FORM_sec_offset
- - Attribute: DW_AT_frame_base
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_object_pointer
- Form: DW_FORM_ref4
- - Attribute: DW_AT_call_all_calls
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_linkage_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_specification
- Form: DW_FORM_ref4
- - Code: 0x18
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Attribute: DW_AT_artificial
- Form: DW_FORM_flag_present
- - Code: 0x19
- Tag: DW_TAG_formal_parameter
- Children: DW_CHILDREN_no
- Attributes:
- - Attribute: DW_AT_location
- Form: DW_FORM_exprloc
- - Attribute: DW_AT_name
- Form: DW_FORM_strp
- - Attribute: DW_AT_decl_file
- Form: DW_FORM_data1
- - Attribute: DW_AT_decl_line
- Form: DW_FORM_data1
- - Attribute: DW_AT_type
- Form: DW_FORM_ref4
- - Code: 0x1A
- Tag: DW_TAG_call_site
- Children: DW_CHILDREN_yes
- Attributes:
- - Attribute: DW_AT_call_origin
- Form: DW_FORM_ref4
- - Attribute: DW_AT_call_tail_call
- Form: DW_FORM_flag_present
- - Attribute: DW_AT_call_pc
- Form: DW_FORM_addr
- debug_info:
- - Length: 0x2E7
- Version: 4
- AbbrevTableID: 0
- AbbrOffset: 0x0
- AddrSize: 8
- Entries:
- - AbbrCode: 0x1
- Values:
- - Value: 0x0
- - Value: 0x21
- - Value: 0x92
- - Value: 0xA5
- - Value: 0x0
- - Value: 0xA7
- - Value: 0x1
- - Value: 0x0
- - Value: 0x94
- - AbbrCode: 0x2
- Values:
- - Value: 0x3F
- - Value: 0x1
- - Value: 0x27
- - Value: 0x9
- BlockData: [ 0x3, 0x94, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0 ]
- - AbbrCode: 0x3
- Values:
- - Value: 0x4B
- - AbbrCode: 0x4
- Values:
- - Value: 0x57
- - Value: 0x5
- - AbbrCode: 0x0
- - AbbrCode: 0x5
- Values:
- - Value: 0x50
- - AbbrCode: 0x6
- Values:
- - Value: 0xBD
- - Value: 0x6
- - Value: 0x1
- - AbbrCode: 0x7
- Values:
- - Value: 0xC2
- - Value: 0x8
- - Value: 0x7
- - AbbrCode: 0x8
- Values:
- - Value: 0x0
- - Value: 0x8
- - Value: 0x1
- - Value: 0x34
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x1
- - Value: 0xD6
- - Value: 0x1
- - Value: 0x2
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0x9
- Values:
- - Value: 0x178
- - Value: 0x1
- - Value: 0x2
- - Value: 0x2DE
- - AbbrCode: 0x0
- - AbbrCode: 0x8
- Values:
- - Value: 0x8
- - Value: 0x8
- - Value: 0x1
- - Value: 0x4A
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x1
- - Value: 0xE6
- - Value: 0x1
- - Value: 0x6
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0xA
- Values:
- - Value: 0x0
- - Value: 0x178
- - Value: 0x1
- - Value: 0x6
- - Value: 0x2DE
- - AbbrCode: 0xB
- Values:
- - Value: 0x39
- - Value: 0x17A
- - Value: 0x1
- - Value: 0x7
- - Value: 0x2DE
- - AbbrCode: 0x0
- - AbbrCode: 0x8
- Values:
- - Value: 0x10
- - Value: 0x8
- - Value: 0x1
- - Value: 0x60
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x1
- - Value: 0xF6
- - Value: 0x1
- - Value: 0xB
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0xA
- Values:
- - Value: 0x5E
- - Value: 0x178
- - Value: 0x1
- - Value: 0xB
- - Value: 0x2DE
- - AbbrCode: 0x0
- - AbbrCode: 0x8
- Values:
- - Value: 0x18
- - Value: 0x8
- - Value: 0x1
- - Value: 0x78
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x1
- - Value: 0x106
- - Value: 0x1
- - Value: 0xF
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0xA
- Values:
- - Value: 0x97
- - Value: 0x178
- - Value: 0x1
- - Value: 0xF
- - Value: 0x2DE
- - AbbrCode: 0xB
- Values:
- - Value: 0xD0
- - Value: 0x17A
- - Value: 0x1
- - Value: 0x10
- - Value: 0x2DE
- - AbbrCode: 0x0
- - AbbrCode: 0x8
- Values:
- - Value: 0x20
- - Value: 0x8
- - Value: 0x1
- - Value: 0x90
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x1
- - Value: 0x116
- - Value: 0x1
- - Value: 0x14
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0xA
- Values:
- - Value: 0xF5
- - Value: 0x178
- - Value: 0x1
- - Value: 0x14
- - Value: 0x2DE
- - AbbrCode: 0xB
- Values:
- - Value: 0x12E
- - Value: 0x17C
- - Value: 0x1
- - Value: 0x15
- - Value: 0x2DE
- - AbbrCode: 0x0
- - AbbrCode: 0xC
- Values:
- - Value: 0x28
- - Value: 0x64
- - Value: 0xA7
- - Value: 0x1
- BlockData: [ 0x6D ]
- - Value: 0x1
- - Value: 0x126
- - Value: 0x1
- - Value: 0x21
- - Value: 0x2DE
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0xD
- Values:
- - Value: 0x2
- BlockData: [ 0x8F, 0xF ]
- - Value: 0x183
- - Value: 0x1
- - Value: 0x27
- - Value: 0x205
- - AbbrCode: 0xB
- Values:
- - Value: 0x151
- - Value: 0x185
- - Value: 0x1
- - Value: 0x22
- - Value: 0x2DE
- - AbbrCode: 0xE
- Values:
- - Value: 0x12C
- - Value: 0x40
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x1
- BlockData: [ 0x33 ]
- - AbbrCode: 0x0
- - AbbrCode: 0xE
- Values:
- - Value: 0xF0
- - Value: 0x4C
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x2
- BlockData: [ 0x10, 0x29 ]
- - AbbrCode: 0x0
- - AbbrCode: 0xE
- Values:
- - Value: 0xC3
- - Value: 0x58
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x1
- BlockData: [ 0x3B ]
- - AbbrCode: 0x0
- - AbbrCode: 0xE
- Values:
- - Value: 0x5E
- - Value: 0x64
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x2
- BlockData: [ 0x10, 0x2A ]
- - AbbrCode: 0x0
- - AbbrCode: 0xE
- Values:
- - Value: 0x252
- - Value: 0x78
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x2
- BlockData: [ 0x8F, 0xF ]
- - AbbrCode: 0x0
- - AbbrCode: 0x0
- - AbbrCode: 0x10
- Values:
- - Value: 0x5
- - Value: 0x12B
- - Value: 0x1
- - Value: 0x1
- - Value: 0x1D
- - AbbrCode: 0x11
- Values:
- - Value: 0x227
- - Value: 0x0
- - AbbrCode: 0x12
- Values:
- - Value: 0x12B
- - Value: 0x1
- - Value: 0x1E
- - Value: 0x1
- - Value: 0x1
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0x13
- Values:
- - Value: 0x24D
- - Value: 0x1
- - AbbrCode: 0x14
- Values:
- - Value: 0x248
- - AbbrCode: 0x0
- - AbbrCode: 0x0
- - AbbrCode: 0x10
- Values:
- - Value: 0x5
- - Value: 0x138
- - Value: 0x1
- - Value: 0x1
- - Value: 0x19
- - AbbrCode: 0x15
- Values:
- - Value: 0x138
- - Value: 0x1
- - Value: 0x1A
- - Value: 0x1
- - Value: 0x1
- - Value: 0x1
- - AbbrCode: 0x13
- Values:
- - Value: 0x243
- - Value: 0x1
- - AbbrCode: 0x14
- Values:
- - Value: 0x248
- - AbbrCode: 0x0
- - AbbrCode: 0x0
- - AbbrCode: 0x16
- Values:
- - Value: 0x227
- - AbbrCode: 0x16
- Values:
- - Value: 0x4B
- - AbbrCode: 0x16
- Values:
- - Value: 0x205
- - AbbrCode: 0x17
- Values:
- - Value: 0x8C
- - Value: 0x4
- - Value: 0x1
- - Value: 0xD3
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x271
- - Value: 0x1
- - Value: 0x144
- - Value: 0x214
- - AbbrCode: 0x18
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x189
- - Value: 0x2E5
- - Value: 0x1
- - AbbrCode: 0x19
- Values:
- - Value: 0x1
- BlockData: [ 0x51 ]
- - Value: 0x18E
- - Value: 0x1
- - Value: 0x1E
- - Value: 0x248
- - AbbrCode: 0x1A
- Values:
- - Value: 0x2A6
- - Value: 0x1
- - Value: 0x8C
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x3
- BlockData: [ 0xA3, 0x1, 0x50 ]
- - AbbrCode: 0xF
- Values:
- - Value: 0x1
- BlockData: [ 0x51 ]
- - Value: 0x3
- BlockData: [ 0xA3, 0x1, 0x51 ]
- - AbbrCode: 0x0
- - AbbrCode: 0x0
- - AbbrCode: 0x17
- Values:
- - Value: 0x90
- - Value: 0x4
- - Value: 0x1
- - Value: 0xE7
- - Value: 0x1
- BlockData: [ 0x6F ]
- - Value: 0x2C5
- - Value: 0x1
- - Value: 0x15C
- - Value: 0x214
- - AbbrCode: 0x18
- Values:
- - Value: 0x1
- BlockData: [ 0x50 ]
- - Value: 0x189
- - Value: 0x2E5
- - Value: 0x1
- - AbbrCode: 0x19
- Values:
- - Value: 0x1
- BlockData: [ 0x51 ]
- - Value: 0x18E
- - Value: 0x1
- - Value: 0x1E
- - Value: 0x248
- - AbbrCode: 0x0
- - AbbrCode: 0x6
- Values:
- - Value: 0x174
- - Value: 0x5
- - Value: 0x4
- - AbbrCode: 0x16
- Values:
- - Value: 0x205
- - AbbrCode: 0x0
- debug_line:
- - Length: 249
- Version: 4
- PrologueLength: 42
- MinInstLength: 1
- MaxOpsPerInst: 1
- DefaultIsStmt: 1
- LineBase: 251
- LineRange: 14
- OpcodeBase: 13
- StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
- Files:
- - Name: stmt_seq_macho.cpp
- DirIdx: 0
- ModTime: 0
- Length: 0
- Opcodes:
- - Opcode: DW_LNS_set_column
- Data: 10
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 0
- - Opcode: 0x14
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 3
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x4A
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 14
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 8
- - Opcode: 0x19
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 5
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x4A
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 14
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 16
- - Opcode: DW_LNS_advance_line
- SData: 11
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 5
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x4A
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 14
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 24
- - Opcode: DW_LNS_advance_line
- SData: 16
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 5
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x4A
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 20
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 32
- - Opcode: DW_LNS_advance_line
- SData: 20
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 5
- - Opcode: 0x4B
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 40
- - Opcode: DW_LNS_advance_line
- SData: 32
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 12
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: 0xF4
- Data: 0
- - Opcode: 0xBB
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 9
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x82
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 12
- - Opcode: DW_LNS_negate_stmt
- Data: 0
- - Opcode: 0x4B
- Data: 0
- - Opcode: 0xBB
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 9
- - Opcode: 0x81
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 18
- - Opcode: 0x4C
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 9
- - Opcode: 0xF1
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 5
- - Opcode: DW_LNS_set_epilogue_begin
- Data: 0
- - Opcode: 0x4C
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 85
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 140
- - Opcode: DW_LNS_advance_line
- SData: 29
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
- - Opcode: DW_LNS_set_column
- Data: 86
- - Opcode: DW_LNS_set_prologue_end
- Data: 0
- - Opcode: DW_LNS_extended_op
- ExtLen: 9
- SubOpcode: DW_LNE_set_address
- Data: 144
- - Opcode: DW_LNS_advance_line
- SData: 29
- Data: 0
- - Opcode: DW_LNS_copy
- Data: 0
- - Opcode: DW_LNS_advance_pc
- Data: 4
- - Opcode: DW_LNS_extended_op
- ExtLen: 1
- SubOpcode: DW_LNE_end_sequence
- Data: 0
-...
-
-#--- stmt_seq_macho.exe.yaml
---- !mach-o
-IsLittleEndian: true
-FileHeader:
- magic: 0xFEEDFACF
- cputype: 0x100000C
- cpusubtype: 0x0
- filetype: 0x2
- ncmds: 13
- sizeofcmds: 688
- flags: 0x200085
- reserved: 0x0
-LoadCommands:
- - cmd: LC_SEGMENT_64
- cmdsize: 72
- segname: __PAGEZERO
- vmaddr: 0
- vmsize: 4294967296
- fileoff: 0
- filesize: 0
- maxprot: 0
- initprot: 0
- nsects: 0
- flags: 0
- - cmd: LC_SEGMENT_64
- cmdsize: 232
- segname: __TEXT
- vmaddr: 4294967296
- vmsize: 16384
- fileoff: 0
- filesize: 16384
- maxprot: 5
- initprot: 5
- nsects: 2
- flags: 0
- Sections:
- - sectname: __text
- segname: __TEXT
- addr: 0x1000002F0
- size: 132
- offset: 0x2F0
- align: 2
- reloff: 0x0
- nreloc: 0
- flags: 0x80000400
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: 00040011C0035FD600580051C0035FD600100011C0035FD6FFC300D1F44F01A9FD7B02A9FD83009160008052F7FFFF97F30300AA20058052F6FFFF971400130B60018052F1FFFF97F30300AA40058052ECFFFF977302000B610100101F2003D5E03F0091060000948002130BFD7B42A9F44F41A9FFC30091C0035FD601000014C0035FD6
- - sectname: __cstring
- segname: __TEXT
- addr: 0x100000374
- size: 5
- offset: 0x374
- align: 0
- reloff: 0x0
- nreloc: 0
- flags: 0x2
- reserved1: 0x0
- reserved2: 0x0
- reserved3: 0x0
- content: '7465737400'
- - cmd: LC_SEGMENT_64
- cmdsize: 72
- segname: __LINKEDIT
- vmaddr: 4294983680
- vmsize: 1040
- fileoff: 16384
- filesize: 1040
- maxprot: 1
- initprot: 1
- nsects: 0
- flags: 0
- - cmd: LC_DYLD_INFO_ONLY
- cmdsize: 48
- rebase_off: 0
- rebase_size: 0
- bind_off: 0
- bind_size: 0
- weak_bind_off: 0
- weak_bind_size: 0
- lazy_bind_off: 0
- lazy_bind_size: 0
- export_off: 16384
- export_size: 112
- - cmd: LC_SYMTAB
- cmdsize: 24
- symoff: 16504
- nsyms: 25
- stroff: 16904
- strsize: 208
- - cmd: LC_DYSYMTAB
- cmdsize: 80
- ilocalsym: 0
- nlocalsym: 19
- iextdefsym: 19
- nextdefsym: 6
- iundefsym: 25
- nundefsym: 0
- tocoff: 0
- ntoc: 0
- modtaboff: 0
- nmodtab: 0
- extrefsymoff: 0
- nextrefsyms: 0
- indirectsymoff: 0
- nindirectsyms: 0
- extreloff: 0
- nextrel: 0
- locreloff: 0
- nlocrel: 0
- - cmd: LC_LOAD_DYLINKER
- cmdsize: 32
- name: 12
- Content: '/usr/lib/dyld'
- ZeroPadBytes: 7
- - cmd: LC_UUID
- cmdsize: 24
- uuid: 4C4C443F-5555-3144-A15F-DE084AB2A15B
- - cmd: LC_BUILD_VERSION
- cmdsize: 32
- platform: 1
- minos: 720896
- sdk: 720896
- ntools: 1
- Tools:
- - tool: 4
- version: 1245445
- - cmd: LC_MAIN
- cmdsize: 24
- entryoff: 776
- stacksize: 0
- - cmd: LC_FUNCTION_STARTS
- cmdsize: 16
- dataoff: 16496
- datasize: 8
- - cmd: LC_DATA_IN_CODE
- cmdsize: 16
- dataoff: 16504
- datasize: 0
- - cmd: LC_CODE_SIGNATURE
- cmdsize: 16
- dataoff: 17120
- datasize: 304
-LinkEditData:
- ExportTrie:
- TerminalSize: 0
- NodeOffset: 0
- Name: ''
- Flags: 0x0
- Address: 0x0
- Other: 0x0
- ImportName: ''
- Children:
- - TerminalSize: 0
- NodeOffset: 5
- Name: _
- Flags: 0x0
- Address: 0x0
- Other: 0x0
- ImportName: ''
- Children:
- - TerminalSize: 2
- NodeOffset: 43
- Name: _mh_execute_header
- Flags: 0x0
- Address: 0x0
- Other: 0x0
- ImportName: ''
- - TerminalSize: 3
- NodeOffset: 47
- Name: main
- Flags: 0x0
- Address: 0x308
- Other: 0x0
- ImportName: ''
- - TerminalSize: 0
- NodeOffset: 52
- Name: function
- Flags: 0x0
- Address: 0x0
- Other: 0x0
- ImportName: ''
- Children:
- - TerminalSize: 3
- NodeOffset: 80
- Name: 1_copy1
- Flags: 0x0
- Address: 0x2F0
- Other: 0x0
- ImportName: ''
- - TerminalSize: 0
- NodeOffset: 85
- Name: 2_copy
- Flags: 0x0
- Address: 0x0
- Other: 0x0
- ImportName: ''
- Children:
- - TerminalSize: 3
- NodeOffset: 93
- Name: '1'
- Flags: 0x0
- Address: 0x2F8
- Other: 0x0
- ImportName: ''
- - TerminalSize: 3
- NodeOffset: 98
- Name: '2'
- Flags: 0x0
- Address: 0x2F8
- Other: 0x0
- ImportName: ''
- - TerminalSize: 3
- NodeOffset: 103
- Name: 3_copy2
- Flags: 0x0
- Address: 0x300
- Other: 0x0
- ImportName: ''
- NameList:
- - n_strx: 146
- n_type: 0x64
- n_sect: 0
- n_desc: 0
- n_value: 0
- - n_strx: 187
- n_type: 0x66
- n_sect: 0
- n_desc: 1
- n_value: 0
- - n_strx: 76
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968172
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 4
- - n_strx: 101
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968176
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 4
- - n_strx: 2
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968072
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 100
- - n_strx: 8
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968048
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 8
- - n_strx: 25
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968056
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 8
- - n_strx: 42
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968064
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 8
- - n_strx: 59
- n_type: 0x24
- n_sect: 1
- n_desc: 0
- n_value: 4294968056
- - n_strx: 1
- n_type: 0x24
- n_sect: 0
- n_desc: 0
- n_value: 8
- - n_strx: 1
- n_type: 0x64
- n_sect: 1
- n_desc: 0
- n_value: 0
- - n_strx: 76
- n_type: 0x1E
- n_sect: 1
- n_desc: 0
- n_value: 4294968172
- - n_strx: 101
- n_type: 0x1E
- n_sect: 1
- n_desc: 0
- n_value: 4294968176
- - n_strx: 2
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 4294968072
- - n_strx: 8
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 4294968048
- - n_strx: 25
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 4294968056
- - n_strx: 42
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 4294968064
- - n_strx: 59
- n_type: 0xF
- n_sect: 1
- n_desc: 0
- n_value: 4294968056
- - n_strx: 126
- n_type: 0xF
- n_sect: 1
- n_desc: 16
- n_value: 4294967296
- StringTable:
- - ' '
- - _main
- - _function1_copy1
- - _function2_copy1
- - _function3_copy2
- - _function2_copy2
- - __ZN12length_errorC1EPKc
- - __ZN12length_errorC2EPKc
- - __mh_execute_header
- - '/private/tmp/stmt_seq/stmt_seq_macho.cpp'
- - stmt_seq_macho.o
- - ''
- - ''
- - ''
- - ''
- FunctionStarts: [ 0x2F0, 0x2F8, 0x300, 0x308, 0x36C, 0x370 ]
-...
diff --git a/llvm/test/tools/dsymutil/ARM/swiftmodule.test b/llvm/test/tools/dsymutil/ARM/swiftmodule.test
deleted file mode 100644
index 31b3926..0000000
--- a/llvm/test/tools/dsymutil/ARM/swiftmodule.test
+++ /dev/null
@@ -1,34 +0,0 @@
-# RUN: dsymutil -verbose -oso-prepend-path=%p -y -o %t.dSYM %s | FileCheck %s
-#
-# RUN: dsymutil --linker parallel -verbose -oso-prepend-path=%p -y %s -o %t-parallel.dSYM | FileCheck %s
-#
-# To regenerate:
-# echo ''>I.swift
-# echo ''>B.swift
-# echo 'import I'>main.swift
-# xcrun swiftc -emit-module-interface-path I.swiftinterface -enable-library-evolution I.swift
-# xcrun swiftc -emit-module-path B.swiftmodule B.swift -Xfrontend -no-serialize-debugging-options
-# xcrun swiftc -explicit-module-build main.swift -I. -module-cache-path cache -g -Xfrontend -no-serialize-debugging-options
-# output is "B.swiftmodule" and "cache/I*.swiftmodule"
-#
-# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/Binary.swiftmodule
-# CHECK: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule
-# CHECK-NOT: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule
-
-#
----
-triple: 'arm64-apple-darwin'
-objects:
- - filename: '../Inputs/Binary.swiftmodule'
- timestamp: 0
- type: 50
- symbols: []
- - filename: '../Inputs/FromInterface.swiftmodule'
- timestamp: 0
- type: 50
- symbols: []
- - filename: '../Inputs/FromInterface.swiftmodule'
- timestamp: 0
- type: 50
- symbols: []
-...