2013-05-11 00:44:02 +08:00
|
|
|
# Tests that atoms are merged by testing it with --merge-strings option
|
2014-01-09 08:07:20 +08:00
|
|
|
RUN: lld -flavor gnu -target x86_64-linux --merge-strings -o %t1 \
|
2013-04-05 02:59:24 +08:00
|
|
|
RUN: %p/Inputs/foo.o.x86-64 %p/Inputs/bar.o.x86-64 -e bar1
|
2013-02-13 02:46:53 +08:00
|
|
|
RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=mergeAtoms %s
|
|
|
|
|
2013-05-11 02:52:29 +08:00
|
|
|
mergeAtoms: 62617200 666f6f00 bar.foo.
|