[debuginfo-tests] 8a44d48 - [debuginfo] Update test to account for missing __debug_macinfo

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 10:40:54 PST 2019


Author: Jonas Devlieghere
Date: 2019-11-11T10:40:47-08:00
New Revision: 8a44d4850d268fdcc61b95fdd32233b7a3a15e9b

URL: https://github.com/llvm/llvm-project/commit/8a44d4850d268fdcc61b95fdd32233b7a3a15e9b
DIFF: https://github.com/llvm/llvm-project/commit/8a44d4850d268fdcc61b95fdd32233b7a3a15e9b.diff

LOG: [debuginfo] Update test to account for missing __debug_macinfo

We no longer emit this section if it's empty.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/debuginfo-tests/llgdb-tests/apple-accel.cpp b/debuginfo-tests/llgdb-tests/apple-accel.cpp
index 4a73afe80113..6a94e5501189 100644
--- a/debuginfo-tests/llgdb-tests/apple-accel.cpp
+++ b/debuginfo-tests/llgdb-tests/apple-accel.cpp
@@ -8,7 +8,7 @@
 // RUN: %clang %s %target_itanium_abi_host_triple -gdwarf-4 -O0 -c -g -o %t-ex
 // RUN: llvm-objdump -section-headers %t-ex | FileCheck %s
 
-// A function in a 
diff erent section forces the compiler to create the 
+// A function in a 
diff erent section forces the compiler to create the
 // __debug_ranges section.
 __attribute__((section("1,__text_foo"))) void foo() {}
 int main (int argc, char const *argv[]) { return argc; }
@@ -17,7 +17,6 @@ int main (int argc, char const *argv[]) { return argc; }
 // CHECK-NEXT: __debug_abbrev
 // CHECK-NEXT: __debug_info
 // CHECK-NEXT: __debug_ranges
-// CHECK-NEXT: __debug_macinfo
 // CHECK-NEXT: __apple_names
 // CHECK-NEXT: __apple_objc
 // CHECK-NEXT: __apple_namespac


        


More information about the llvm-commits mailing list