[PATCH] D24885: [profile] Hide lprofCurFilename

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 14:02:23 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL282294: [profile] Hide lprofCurFilename (authored by vedantk).

Changed prior to commit:
  https://reviews.llvm.org/D24885?vs=72353&id=72355#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24885

Files:
  compiler-rt/trunk/lib/profile/InstrProfilingFile.c

Index: compiler-rt/trunk/lib/profile/InstrProfilingFile.c
===================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingFile.c
+++ compiler-rt/trunk/lib/profile/InstrProfilingFile.c
@@ -82,7 +82,8 @@
   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();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24885.72355.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160923/5f0344a4/attachment.bin>


More information about the llvm-commits mailing list