This is a requirement from ld64, so this mirrors that expectation. Most of these changes were just offsets from adding the library, or adding dyld_stub_binder which is always added when linking ld64. This also adds `%no-lsystem-lld` for the few cases where we're explicitly testing things without that. Fixes: https://github.com/llvm/llvm-project/issues/54184 Differential Revision: https://reviews.llvm.org/D135193
18 lines
576 B
Plaintext
18 lines
576 B
Plaintext
RUN: rm -rf %t1 %t2; mkdir -p %t1 %t2
|
|
|
|
RUN: %no-lsystem-lld -v -dylib -o /dev/null -L%t1 -F%t2 2>&1 \
|
|
RUN: | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
|
|
CHECK: Library search paths:
|
|
CHECK-NEXT: [[LDIR]]
|
|
CHECK-NEXT: /usr/lib
|
|
CHECK-NEXT: Framework search paths:
|
|
CHECK-NEXT: [[FDIR]]
|
|
CHECK-NEXT: /System/Library/Frameworks
|
|
|
|
RUN: %no-lsystem-lld -v -dylib -o /dev/null -L%t1 -F%t2 -Z 2>&1 \
|
|
RUN: | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
|
|
CHECK_Z: Library search paths:
|
|
CHECK_Z-NEXT: [[LDIR]]
|
|
CHECK_Z-NEXT: Framework search paths:
|
|
CHECK_Z-NEXT: [[FDIR]]
|