forked from OSchip/llvm-project
parent
5680a26b0b
commit
6b21d560c9
|
@ -95,6 +95,7 @@ typedef AddrHashMap<CommonInterceptorMetadata, 31051> MetadataHashMap;
|
|||
|
||||
static MetadataHashMap *interceptor_metadata_map;
|
||||
|
||||
#if SI_NOT_WINDOWS
|
||||
static void SetInterceptorMetadata(__sanitizer_FILE *addr,
|
||||
const FileMetadata &file) {
|
||||
MetadataHashMap::Handle h(interceptor_metadata_map, (uptr)addr);
|
||||
|
@ -120,6 +121,7 @@ static void DeleteInterceptorMetadata(void *addr) {
|
|||
MetadataHashMap::Handle h(interceptor_metadata_map, (uptr)addr, true);
|
||||
CHECK(h.exists());
|
||||
}
|
||||
#endif // SI_NOT_WINDOWS
|
||||
|
||||
#if SANITIZER_INTERCEPT_TEXTDOMAIN
|
||||
INTERCEPTOR(char*, textdomain, const char *domainname) {
|
||||
|
|
Loading…
Reference in New Issue