[llvm] 36663d5 - [llvm-strip][MachO] Test llvm-strip --strip-debug
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 21:16:18 PST 2019
Author: Fangrui Song
Date: 2019-12-03T21:15:56-08:00
New Revision: 36663d506e31a43934f10dff5a3020d3aad41ef1
URL: https://github.com/llvm/llvm-project/commit/36663d506e31a43934f10dff5a3020d3aad41ef1
DIFF: https://github.com/llvm/llvm-project/commit/36663d506e31a43934f10dff5a3020d3aad41ef1.diff
LOG: [llvm-strip][MachO] Test llvm-strip --strip-debug
Reviewed By: smeenai
Differential Revision: https://reviews.llvm.org/D70995
Added:
Modified:
llvm/test/tools/llvm-objcopy/MachO/strip-debug.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-objcopy/MachO/strip-debug.test b/llvm/test/tools/llvm-objcopy/MachO/strip-debug.test
index d53271ba31e5..ff99b97f1047 100644
--- a/llvm/test/tools/llvm-objcopy/MachO/strip-debug.test
+++ b/llvm/test/tools/llvm-objcopy/MachO/strip-debug.test
@@ -18,6 +18,9 @@
# RUN: llvm-readobj -r %t | FileCheck %s --check-prefixes=RELOC,DEBUG
# RUN: llvm-readobj -r %t.stripped | FileCheck %s --check-prefix=RELOC
+# RUN: llvm-strip --strip-debug %t -o %t.stripped2
+# RUN: cmp %t.stripped %t.stripped2
+
# RELOC: Relocations [
# RELOC-NEXT: Section __text {
# RELOC-NEXT: 0x0 0 0 0 X86_64_RELOC_UNSIGNED 0 -
More information about the llvm-commits
mailing list