18 lines · plain
1## Show that llvm-objcopy/llvm-strip stabs symbols and debug sections.2 3# RUN: yaml2obj %p/Inputs/strip-stabs.yaml -o %t4 5# RUN: llvm-objcopy --strip-debug %t %t.stripped6 7## Make sure that stabs symbols are stripped.8# RUN: llvm-readobj --symbols %t | FileCheck %s --check-prefix=SYM9# RUN: llvm-readobj --symbols %t.stripped | FileCheck %s --check-prefix=SYM_STRIP10 11# SYM: Symbols [12# SYM-COUNT-5: Type: SymDebugTable ({{.*}})13# SYM: ]14 15# SYM_STRIP: Symbols [16# SYM_STRIP-NOT: Type: SymDebugTable ({{.*}})17# SYM_STRIP: ]18