blob: 521eb5a12c3c3c9cde47b1a5e664314583a1a334 [file] [log] [blame]
# Tests that atoms are merged by testing it with --merge-strings option
RUN: lld -flavor gnu -target x86_64-linux --merge-strings -o %t1 \
RUN: %p/Inputs/foo.o.x86-64 %p/Inputs/bar.o.x86-64 -e bar1
RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=mergeAtoms %s
mergeAtoms: 62617200 666f6f00 bar.foo.