Files
clang-p2996/lld/test/ELF/cgprofile-err.s
George Rimar bc6702a424 [ELF] - Improve call graph pasing error reporting.
This adds a file name to the error message,
adds a missing test case and refactors code a bit. 

llvm-svn: 336651
2018-07-10 10:28:55 +00:00

14 lines
415 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: echo "A B C 100" > %t.call_graph
# RUN: not ld.lld %t --call-graph-ordering-file \
# RUN: %t.call_graph -o /dev/null 2>&1 | FileCheck %s
# CHECK: {{.*}}.call_graph: parse error
# RUN: echo "A B C" > %t.call_graph
# RUN: not ld.lld %t --call-graph-ordering-file \
# RUN: %t.call_graph -o /dev/null 2>&1 | FileCheck %s