[llvm-strip][MachO] Test llvm-strip --strip-debug

Reviewed By: smeenai

Differential Revision: https://reviews.llvm.org/D70995
This commit is contained in:
Fangrui Song 2019-12-03 19:54:11 -08:00
parent d84b320dfd
commit 36663d506e
1 changed files with 3 additions and 0 deletions

View File

@ -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 -