mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Use the correct filename for the error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153564 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7242a4fb86
commit
d4ec0547a2
@ -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
Block a user