aboutsummaryrefslogtreecommitdiff
path: root/test/elf/X86_64/startGroupEndGroupWithDynlib.test
blob: 3e40997db384841062954d26fccd5fb56b036129 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# 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