forked from OSchip/llvm-project
15 lines
461 B
Plaintext
15 lines
461 B
Plaintext
# This test checks that we follow the command line order of layouting
|
|
# symbols in the output file
|
|
|
|
RUN: lld -flavor gnu -target x86_64 %p/Inputs/layoutpass/1.o \
|
|
RUN: %p/Inputs/layoutpass/lib2.a %p/Inputs/layoutpass/3.o -o %t \
|
|
RUN: --noinhibit-exec -static
|
|
|
|
RUN: llvm-nm -n %t | FileCheck -check-prefix=SYMBOLSORDER %s
|
|
|
|
SYMBOLSORDER: 004000b0 T main
|
|
SYMBOLSORDER: 004000c5 T b
|
|
SYMBOLSORDER: 004000d0 T a
|
|
SYMBOLSORDER: 004000db T c
|
|
SYMBOLSORDER: 004000e8 T d
|