diff options
author | Eric Christopher <echristo@apple.com> | 2012-07-23 20:54:17 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-07-23 20:54:17 +0000 |
commit | 2ce6541f3bd7144615e931db3680e2a574116255 (patch) | |
tree | 07c77eb1187d058cd5b91f5bbc1c2c0143886eaa /llvm/utils/test_debuginfo.pl | |
parent | eb9d2755b20f9874b5cf77d77d7b5692628d93ea (diff) | |
download | bcm5719-llvm-2ce6541f3bd7144615e931db3680e2a574116255.tar.gz bcm5719-llvm-2ce6541f3bd7144615e931db3680e2a574116255.zip |
Fix a "Bad fd number" error on some platforms due to a less portable
redirection in the system call.
Patch by Andy Gibbs.
llvm-svn: 160644
Diffstat (limited to 'llvm/utils/test_debuginfo.pl')
-rwxr-xr-x | llvm/utils/test_debuginfo.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/test_debuginfo.pl b/llvm/utils/test_debuginfo.pl index a03a1170643..0832a330f4a 100755 --- a/llvm/utils/test_debuginfo.pl +++ b/llvm/utils/test_debuginfo.pl @@ -49,7 +49,7 @@ if (!$my_debugger) { my $debugger_options = "-q -batch -n -x"; # run debugger and capture output. -system("$my_debugger $debugger_options $debugger_script_file $executable_file >& $output_file"); +system("$my_debugger $debugger_options $debugger_script_file $executable_file > $output_file 2>&1"); # validate output. system("FileCheck", "-input-file", "$output_file", "$testcase_file"); |