[Profile] Remove unused variable
authorXinliang David Li <davidxl@google.com>
Thu, 22 Sep 2016 21:12:40 +0000 (21:12 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 22 Sep 2016 21:12:40 +0000 (21:12 +0000)
llvm-svn: 282198

compiler-rt/lib/profile/InstrProfiling.c
compiler-rt/lib/profile/InstrProfilingInternal.h

index 1dcd05b..6828a3d 100644 (file)
@@ -16,7 +16,6 @@
 #define INSTR_PROF_VALUE_PROF_DATA
 #include "InstrProfData.inc"
 
-COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0;
 
 COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = INSTR_PROF_RAW_VERSION;
 
index 21590d5..c73b291 100644 (file)
@@ -170,7 +170,6 @@ uint64_t lprofGetLoadModuleSignature();
 unsigned lprofProfileDumped();
 void lprofSetProfileDumped();
 
-COMPILER_RT_VISIBILITY extern char *(*GetEnvHook)(const char *);
 COMPILER_RT_VISIBILITY extern void (*FreeHook)(void *);
 COMPILER_RT_VISIBILITY extern uint8_t *DynamicBufferIOBuffer;
 COMPILER_RT_VISIBILITY extern uint32_t VPBufferSize;