Skip to content

Commit 8a44d48

Browse files
committed
[debuginfo] Update test to account for missing __debug_macinfo
We no longer emit this section if it's empty.
1 parent b9213df commit 8a44d48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

debuginfo-tests/llgdb-tests/apple-accel.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %clang %s %target_itanium_abi_host_triple -gdwarf-4 -O0 -c -g -o %t-ex
99
// RUN: llvm-objdump -section-headers %t-ex | FileCheck %s
1010

11-
// A function in a different section forces the compiler to create the
11+
// A function in a different section forces the compiler to create the
1212
// __debug_ranges section.
1313
__attribute__((section("1,__text_foo"))) void foo() {}
1414
int main (int argc, char const *argv[]) { return argc; }
@@ -17,7 +17,6 @@ int main (int argc, char const *argv[]) { return argc; }
1717
// CHECK-NEXT: __debug_abbrev
1818
// CHECK-NEXT: __debug_info
1919
// CHECK-NEXT: __debug_ranges
20-
// CHECK-NEXT: __debug_macinfo
2120
// CHECK-NEXT: __apple_names
2221
// CHECK-NEXT: __apple_objc
2322
// CHECK-NEXT: __apple_namespac

0 commit comments

Comments
 (0)