summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/mergeatoms.test
blob: 521eb5a12c3c3c9cde47b1a5e664314583a1a334 (plain)
1
2
3
4
5
6
# 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.
OpenPOWER on IntegriCloud