brintos

brintos / llvm-project-archived public Read only

0
0
Text · 921 B · b6c308d Raw
28 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s4 5# RUN: %no-fatal-warnings-lld -o %t.exec %t.o -mark_dead_strippable_dylib 2>&1 \6# RUN:     | FileCheck --check-prefix=WARN %s7# RUN: llvm-objdump --macho --private-header %t.exec \8# RUN:     | FileCheck --check-prefix=NO-DS %s9 10# RUN: %no-fatal-warnings-lld -bundle -o %t.bundle %t.o \11# RUN:     -mark_dead_strippable_dylib 2>&1 \12# RUN:     | FileCheck --check-prefix=WARN %s13# RUN: llvm-objdump --macho --private-header %t.bundle \14# RUN:     | FileCheck --check-prefix=NO-DS %s15 16# RUN: %lld -dylib -o %t.dylib %t.o -mark_dead_strippable_dylib 2>&117# RUN: llvm-objdump --macho --private-header %t.dylib \18# RUN:     | FileCheck --check-prefix=DS %s19 20# WARN: warning: -mark_dead_strippable_dylib: ignored, only has effect with -dylib21 22# NO-DS-NOT: DEAD_STRIPPABLE_DYLIB23# DS:        DEAD_STRIPPABLE_DYLIB24 25.globl _main26_main:27  ret28