Files
clang-p2996/lld/test/elf/hexagon-quickdata-sort.test
Shankar Easwaran f1b341c80e [lld][LayoutPass] Order the atoms that are in the same chain
We need to order atoms that exist in the same chain. This is to make sure that
the command line order is preserved when we emit the atoms to the output file.

Credits: BigCheese for finding the bug.

Adds a test which otherwise would fail.

llvm-svn: 190608
2013-09-12 15:43:09 +00:00

13 lines
407 B
Plaintext

RUN: lld -flavor gnu -target hexagon %p/Inputs/quickdata-sort-test.o.elf-hexagon -o %t1 --noinhibit-exec
RUN: llvm-nm -n %t1 | FileCheck %s -check-prefix=quickdataSort
quickdataSort: 00002000 D AA1
quickdataSort: 00002001 D A1
quickdataSort: 00002002 D BB1
quickdataSort: 00002004 D B1
quickdataSort: 00002008 D CC1
quickdataSort: 0000200c D C1
quickdataSort: 00002010 D DD1
quickdataSort: 00002018 D D1