1 ## Show that llvm-objcopy/llvm-strip stabs symbols and debug sections.
3 # RUN: yaml2obj %p/Inputs/strip-stabs.yaml -o %t
5 # RUN: llvm-objcopy --strip-debug %t %t.stripped
7 ## Make sure that stabs symbols are stripped.
8 # RUN: llvm-readobj --symbols %t | FileCheck %s --check-prefix=SYM
9 # RUN: llvm-readobj --symbols %t.stripped | FileCheck %s --check-prefix=SYM_STRIP
12 # SYM-COUNT-5: Type: SymDebugTable ({{.*}})
15 # SYM_STRIP: Symbols [
16 # SYM_STRIP-NOT: Type: SymDebugTable ({{.*}})