Files
clang-p2996/lld/test/elf/X86_64/startGroupEndGroupWithDynlib.test
Shankar Easwaran 178324d903 [LinkingContext] Limit shared library undefined atoms to be added.
This adds functionality to limit shared library undefined atoms to be added
only once by the Resolver.

Dynamic libraries may be processed more than once if they exist within a
Group.

Also adds a test to verify the change.

llvm-svn: 195307
2013-11-21 03:50:59 +00:00

11 lines
403 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