llvm-project/lld/test/elf/X86_64/startGroupEndGroupWithDynli...

11 lines
402 B
Plaintext

# This tests functionality of --start-group, --end-group with a dynamic library
# Mix dynamic libraries/object files in group
RUN: lld -flavor gnu -target x86_64 %p/Inputs/group/1.o --start-group \
RUN: %p/Inputs/group/libfn.so %p/Inputs/group/fn2.o \
RUN: %p/Inputs/group/fn1.o --end-group -o %t1
RUN: llvm-nm %t1 | FileCheck -check-prefix=RESOLVEDEXTERNAL %s
RESOLVEDEXTERNAL: {{[0-9a-z]+}} T fn2