projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7242a4f
)
Use the correct filename for the error message.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 28 Mar 2012 02:39:06 +0000
(
02:39
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 28 Mar 2012 02:39:06 +0000
(
02:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153564
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtime/libprofile/GCDAProfiling.c
patch
|
blob
|
history
diff --git
a/runtime/libprofile/GCDAProfiling.c
b/runtime/libprofile/GCDAProfiling.c
index ea2a56a8b05b6e0c4f64a5b07e3949626366fe15..3a48bb282652907e6b88859cccdf3100559575ee 100644
(file)
--- 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);
}