diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-03-28 02:39:06 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-03-28 02:39:06 +0000 |
commit | d4ec0547a210f9f2f34e0c4631586a179bd97571 (patch) | |
tree | 7c79fa56f3b22368e7d116fb6e445c99f8c6b3e4 /runtime | |
parent | 7242a4fb86d9b369a467e3a85ce02bc94c6d9dc8 (diff) | |
download | llvm-d4ec0547a210f9f2f34e0c4631586a179bd97571.tar.gz |
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
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libprofile/GCDAProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/GCDAProfiling.c b/runtime/libprofile/GCDAProfiling.c index ea2a56a8b05b..3a48bb282652 100644 --- a/runtime/libprofile/GCDAProfiling.c +++ b/runtime/libprofile/GCDAProfiling.c @@ -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); } |