[ELF] - Add a test for --no-warn-symbol-ordering.
Mentioned flag was never tested together with --call-graph-ordering-file. And the following line was uncovered: https://github.com/llvm-mirror/lld/blob/master/ELF/Symbols.cpp#L248 llvm-svn: 337266
This commit is contained in:
parent
904ed692a1
commit
da4302ce0d
|
|
@ -29,3 +29,8 @@ A:
|
|||
# CHECK: {{.*}}.call_graph: no such symbol: adena1
|
||||
# CHECK: {{.*}}.call_graph: no such symbol: adena2
|
||||
# CHECK: unable to order undefined symbol: poppy
|
||||
|
||||
# RUN: ld.lld %t --call-graph-ordering-file %t.call_graph -o /dev/null \
|
||||
# RUN: -noinhibit-exec -icf=all --no-warn-symbol-ordering 2>&1 \
|
||||
# RUN: | FileCheck %s --check-prefix=NOWARN
|
||||
# NOWARN-NOT: unable to order
|
||||
|
|
|
|||
Loading…
Reference in New Issue