Files
clang-p2996/lld/test/MachO/umbrella.s
Jez Ng 4490a26a3e [lld-macho][nfc] Rename %no_fatal_warnings_lld in tests
... to use hyphens instead of underscores, making it consistent with
our other substitutions like %no-arg-lld and %lld-watchos.

Reviewed By: keith

Differential Revision: https://reviews.llvm.org/D119513
2022-02-11 10:06:38 -05:00

19 lines
567 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s
# RUN: %lld -dylib -o %t.dylib -umbrella umbrella.dylib %t.o
# RUN: llvm-otool -lv %t.dylib | FileCheck %s
# RUN: %no-fatal-warnings-lld -bundle -o %t.so -umbrella umbrella.dylib %t.o \
# RUN: 2>&1 | FileCheck --check-prefix=WARN %s
# WARN: warning: -umbrella used, but not creating dylib
# RUN: llvm-otool -lv %t.so | FileCheck %s
# CHECK: cmd LC_SUB_FRAMEWORK
# CHECK-NEXT: cmdsize 32
# CHECK-NEXT: umbrella umbrella.dylib (offset 12)
.globl __Z3foo
__Z3foo:
ret