forked from OSchip/llvm-project
parent
d99f21b0e6
commit
b5a2b3a429
|
@ -16,7 +16,7 @@
|
|||
#define INSTR_PROF_VALUE_PROF_DATA
|
||||
#include "InstrProfData.inc"
|
||||
|
||||
char *(*GetEnvHook)(const char *) = 0;
|
||||
COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0;
|
||||
|
||||
COMPILER_RT_WEAK uint64_t __llvm_profile_raw_version = INSTR_PROF_RAW_VERSION;
|
||||
|
||||
|
|
|
@ -114,9 +114,9 @@ int lprofWriteDataImpl(WriterCallback Writer, void *WriterCtx,
|
|||
void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
|
||||
__llvm_profile_data *DstData);
|
||||
|
||||
extern char *(*GetEnvHook)(const char *);
|
||||
extern void (*FreeHook)(void *);
|
||||
extern void *(*CallocHook)(size_t, size_t);
|
||||
COMPILER_RT_VISIBILITY extern char *(*GetEnvHook)(const char *);
|
||||
COMPILER_RT_VISIBILITY extern void (*FreeHook)(void *);
|
||||
COMPILER_RT_VISIBILITY extern void *(*CallocHook)(size_t, size_t);
|
||||
extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
|
||||
extern uint32_t VPBufferSize;
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
#define INSTR_PROF_VALUE_PROF_DATA
|
||||
#include "InstrProfData.inc"
|
||||
void (*FreeHook)(void *) = NULL;
|
||||
void* (*CallocHook)(size_t, size_t) = NULL;
|
||||
COMPILER_RT_VISIBILITY void (*FreeHook)(void *) = NULL;
|
||||
COMPILER_RT_VISIBILITY void *(*CallocHook)(size_t, size_t) = NULL;
|
||||
uint32_t VPBufferSize = 0;
|
||||
|
||||
/* The buffer writer is reponsponsible in keeping writer state
|
||||
|
|
Loading…
Reference in New Issue