Home
last modified time | relevance | path

Searched refs:ProfileFileSize (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/profile/
DInstrProfilingFile.c123 uint64_t ProfileFileSize; in doProfileMerging() local
131 ProfileFileSize = ftell(ProfileFile); in doProfileMerging()
141 if (ProfileFileSize < sizeof(__llvm_profile_header)) { in doProfileMerging()
142 if (ProfileFileSize) in doProfileMerging()
148 ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in doProfileMerging()
156 if (__llvm_profile_check_compatibility(ProfileBuffer, ProfileFileSize)) { in doProfileMerging()
157 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
164 __llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize); in doProfileMerging()
165 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()