[compiler-rt] r282294 - [profile] Hide lprofCurFilename
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 13:53:43 PDT 2016
Author: vedantk
Date: Fri Sep 23 15:53:42 2016
New Revision: 282294
URL: http://llvm.org/viewvc/llvm-project?rev=282294&view=rev
Log:
[profile] Hide lprofCurFilename
Differential Revision: https://reviews.llvm.org/D24885
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingFile.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingFile.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingFile.c?rev=282294&r1=282293&r2=282294&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingFile.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingFile.c Fri Sep 23 15:53:42 2016
@@ -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();
More information about the llvm-commits
mailing list