15 lines · plain
1# REQUIRES: x86, zlib2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: ld.lld %t -o %t2 --strip-debug4# RUN: llvm-readobj --sections %t2 | FileCheck %s5# RUN: ld.lld %t -o %t2 -S6# RUN: llvm-readobj --sections %t2 | FileCheck %s7# RUN: ld.lld %t -o %t2 --strip-all8# RUN: llvm-readobj --sections %t2 | FileCheck %s9 10# CHECK-NOT: Foo11# CHECK-NOT: Bar12 13.section .debug_Foo,"",@progbits14.quad 015