19 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s4# RUN: %lld -dylib -o %t.dylib -umbrella umbrella.dylib %t.o5# RUN: llvm-otool -lv %t.dylib | FileCheck %s6 7# RUN: %no-fatal-warnings-lld -bundle -o %t.so -umbrella umbrella.dylib %t.o \8# RUN: 2>&1 | FileCheck --check-prefix=WARN %s9# WARN: warning: -umbrella used, but not creating dylib10# RUN: llvm-otool -lv %t.so | FileCheck %s11 12# CHECK: cmd LC_SUB_FRAMEWORK13# CHECK-NEXT: cmdsize 3214# CHECK-NEXT: umbrella umbrella.dylib (offset 12)15 16.globl __Z3foo17__Z3foo:18 ret19