1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux -g %s -o %t 4# RUN: ld.lld %t -o %t2 5# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=DEFAULT %s 6# RUN: ld.lld %t -o %t2 --strip-debug 7# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=STRIP %s 8# RUN: ld.lld %t -o %t2 -S 9# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=STRIP %s 10# RUN: ld.lld %t -o %t2 --strip-all 11# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=STRIP %s 12 13# DEFAULT: Name: .debug_info 14# DEFAULT: Name: .debug_abbrev 15# DEFAULT: Name: .debug_aranges 16# DEFAULT: Name: .debug_line 17 18# STRIP-NOT: Name: .debug_info 19# STRIP-NOT: Name: .debug_abbrev 20# STRIP-NOT: Name: .debug_aranges 21# STRIP-NOT: Name: .debug_line 22 23.globl _start 24_start: 25 ret 26