Skip to content

Commit 5f78d38

Browse files
committed
[Profile] Remove unused variable
llvm-svn: 282198
1 parent 49ab251 commit 5f78d38

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compiler-rt/lib/profile/InstrProfiling.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define INSTR_PROF_VALUE_PROF_DATA
1717
#include "InstrProfData.inc"
1818

19-
COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0;
2019

2120
COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = INSTR_PROF_RAW_VERSION;
2221

compiler-rt/lib/profile/InstrProfilingInternal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ uint64_t lprofGetLoadModuleSignature();
170170
unsigned lprofProfileDumped();
171171
void lprofSetProfileDumped();
172172

173-
COMPILER_RT_VISIBILITY extern char *(*GetEnvHook)(const char *);
174173
COMPILER_RT_VISIBILITY extern void (*FreeHook)(void *);
175174
COMPILER_RT_VISIBILITY extern uint8_t *DynamicBufferIOBuffer;
176175
COMPILER_RT_VISIBILITY extern uint32_t VPBufferSize;

0 commit comments

Comments
 (0)