[lld] 5ecfdb5 - [lld/mac] try to fix tests after a5645513dba
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 08:33:47 PDT 2021
Author: Nico Weber
Date: 2021-06-02T11:33:11-04:00
New Revision: 5ecfdb51230c55f987bff86c52c7e57adb0eae4f
URL: https://github.com/llvm/llvm-project/commit/5ecfdb51230c55f987bff86c52c7e57adb0eae4f
DIFF: https://github.com/llvm/llvm-project/commit/5ecfdb51230c55f987bff86c52c7e57adb0eae4f.diff
LOG: [lld/mac] try to fix tests after a5645513dba
My linux system doesn't like the `grep` for some reason,
but FileCheck seems to work.
Added:
Modified:
lld/test/MachO/dead-strip.s
Removed:
################################################################################
diff --git a/lld/test/MachO/dead-strip.s b/lld/test/MachO/dead-strip.s
index c117d65fd259..6b0acbb8e3c8 100644
--- a/lld/test/MachO/dead-strip.s
+++ b/lld/test/MachO/dead-strip.s
@@ -195,8 +195,9 @@
# RUN: %lld -lc++ -lSystem -dead_strip %t/unwind.o -o %t/unwind
# RUN: llvm-objdump --syms %t/unwind | \
# RUN: FileCheck --check-prefix=UNWIND --implicit-check-not unref %s
-# RUN: llvm-otool -l %t/unwind | grep -q 'sectname __unwind_info'
-# RUN: llvm-otool -l %t/unwind | grep -q 'sectname __gcc_except_tab'
+# RUN: llvm-otool -l %t/unwind | FileCheck --check-prefix=UNWINDSECT %s
+# UNWINDSECT-DAG: sectname __unwind_info
+# UNWINDSECT-DAG: sectname __gcc_except_tab
# UNWIND-LABEL: SYMBOL TABLE:
# UNWIND-NEXT: l O __TEXT,__gcc_except_tab GCC_except_table1
# UNWIND-NEXT: l O __DATA,__data __dyld_private
More information about the llvm-commits
mailing list