projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fead2
)
[profile] Hide lprofCurFilename
author
Vedant Kumar
<vsk@apple.com>
Fri, 23 Sep 2016 20:53:42 +0000
(20:53 +0000)
committer
Vedant Kumar
<vsk@apple.com>
Fri, 23 Sep 2016 20:53:42 +0000
(20:53 +0000)
Differential Revision: https://reviews.llvm.org/D24885
llvm-svn: 282294
compiler-rt/lib/profile/InstrProfilingFile.c
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/profile/InstrProfilingFile.c
b/compiler-rt/lib/profile/InstrProfilingFile.c
index
e264f63
..
d89b358
100644
(file)
--- a/
compiler-rt/lib/profile/InstrProfilingFile.c
+++ b/
compiler-rt/lib/profile/InstrProfilingFile.c
@@
-82,7
+82,8
@@
typedef struct lprofFilename {
ProfileNameSpecifier PNS;
} lprofFilename;
-lprofFilename lprofCurFilename = {0, 0, 0, {0}, {0}, 0, 0, 0, PNS_unknown};
+static lprofFilename lprofCurFilename = {0, 0, 0, {0}, {0},
+ 0, 0, 0, PNS_unknown};
int getpid(void);
static int getCurFilenameLength();