diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-20 19:55:44 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-20 19:55:44 +0000 |
commit | 4b54f20e8027325ce522933c77ded92db965cab2 (patch) | |
tree | e68eb8b634607b3f68bcfe7541b696f09eb48d50 /llvm/utils/test_debuginfo.pl | |
parent | 96e99556ada11c393371ce769202fd9a8d1fe515 (diff) | |
download | bcm5719-llvm-4b54f20e8027325ce522933c77ded92db965cab2.tar.gz bcm5719-llvm-4b54f20e8027325ce522933c77ded92db965cab2.zip |
test_debuginfo.pl: Make failures easier to debug by printing the debugger
output.
llvm-svn: 201809
Diffstat (limited to 'llvm/utils/test_debuginfo.pl')
-rwxr-xr-x | llvm/utils/test_debuginfo.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/test_debuginfo.pl b/llvm/utils/test_debuginfo.pl index a6b6137c1cd..aaf90d95468 100755 --- a/llvm/utils/test_debuginfo.pl +++ b/llvm/utils/test_debuginfo.pl @@ -71,6 +71,8 @@ system("$my_debugger $debugger_options $debugger_script_file $executable_file > # validate output. system("FileCheck", "-input-file", "$output_file", "$testcase_file"); if ($?>>8 == 1) { + print "Debugger output was:\n"; + system("cat", "$output_file"); exit 1; } else { |