Use the correct filename for the error message.

llvm-svn: 153564
This commit is contained in:
Bill Wendling 2012-03-28 02:39:06 +00:00
parent 2f22999bab
commit f4670fb97c
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void llvm_gcda_start_file(const char *orig_filename) {
if (!output_file) {
fprintf(stderr, "LLVM profiling runtime: while opening '%s': ",
filename);
cptr ? cptr + 1 : orig_filename);
perror("");
exit(1);
}