forked from OSchip/llvm-project
Use the correct filename for the error message.
llvm-svn: 153564
This commit is contained in:
parent
2f22999bab
commit
f4670fb97c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue