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
13 lines
407 B
Plaintext
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
|
|
|