forked from OSchip/llvm-project
[lld/mac] slightly improve weak-private-extern.s test
- __got is in --bind output, so print that too (makes the test a bit stronger) - WEAK_DEFINES, BINDS_TO_WEAK are in the mach-o header, so --private-header is enough, no need for --all-headers (makes the test a bit easier to work with when it fails) Differential Revision: https://reviews.llvm.org/D101065
This commit is contained in:
parent
d1bbb8533a
commit
88b76cb130
|
@ -3,11 +3,11 @@
|
|||
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %s -o %t.o
|
||||
# RUN: %lld -dylib %t.o -o %t.dylib -lSystem
|
||||
|
||||
# RUN: llvm-objdump --macho --weak-bind %t.dylib | FileCheck %s
|
||||
# RUN: llvm-objdump --macho --bind --weak-bind %t.dylib | FileCheck %s
|
||||
# CHECK-NOT: __got
|
||||
# CHECK-NOT: __la_symbol_ptr
|
||||
|
||||
# RUN: llvm-objdump --macho --all-headers %t.dylib | \
|
||||
# RUN: llvm-objdump --macho --private-header %t.dylib | \
|
||||
# RUN: FileCheck --check-prefix=HEADERS %s
|
||||
# HEADERS-NOT: WEAK_DEFINES
|
||||
# HEADERS-NOT: BINDS_TO_WEAK
|
||||
|
|
Loading…
Reference in New Issue