Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_linux.cpp31 static char linker_placeholder[sizeof(LoadedModule)] ALIGNED(64);
32 static LoadedModule *linker = nullptr;
34 static bool IsLinker(const LoadedModule& module) { in IsLinker()
56 for (LoadedModule &module : modules) { in InitializePlatformSpecificModules()
60 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
62 module = LoadedModule(); in InitializePlatformSpecificModules()
107 LoadedModule *GetLinker() { return linker; } in GetLinker()
H A Dlsan_common_mac.cpp115 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
142 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
150 for (const __sanitizer::LoadedModule::AddressRange &range : in ProcessGlobalRegions()
H A Dlsan_common_fuchsia.cpp33 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
H A Dlsan_common.h322 LoadedModule *GetLinker();
H A Dlsan_common.cpp87 const LoadedModule *suppress_module = nullptr;
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_markup.cpp76 static bool ModulesEq(const LoadedModule &module, in ModulesEq()
85 const LoadedModule &module, in ModuleHasBeenRendered()
95 const LoadedModule &module, uptr moduleId) { in RenderModule()
106 const LoadedModule &module, uptr moduleId) { in RenderMmaps()
H A Dsanitizer_common.cpp158 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
164 void LoadedModule::set(const char *module_name, uptr base_address, in set()
174 void LoadedModule::setUuid(const char *uuid, uptr size) { in setUuid()
181 void LoadedModule::clear() { in clear()
196 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable, in addAddressRange()
205 bool LoadedModule::containsAddress(uptr address) const { in containsAddress()
H A Dsanitizer_procmaps_common.cpp66 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
121 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
141 LoadedModule cur_module; in DumpListOfModules()
H A Dsanitizer_procmaps_mac.cpp49 static void NextSectionLoad(LoadedModule *module, MemoryMappedSegmentData *data, in NextSectionLoad()
60 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
429 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
437 LoadedModule *cur_module = nullptr; in DumpListOfModules()
442 modules->push_back(LoadedModule()); in DumpListOfModules()
H A Dsanitizer_procmaps.h50 void AddAddressRanges(LoadedModule *module);
105 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_common.h820 class LoadedModule {
822 LoadedModule() in LoadedModule() function
889 const LoadedModule *begin() const { return modules_.begin(); } in begin()
890 LoadedModule *begin() { return modules_.begin(); } in begin()
891 const LoadedModule *end() const { return modules_.end(); } in end()
892 LoadedModule *end() { return modules_.end(); } in end()
894 const LoadedModule &operator[](uptr i) const {
909 InternalMmapVectorNoCtor<LoadedModule> modules_;
H A Dsanitizer_symbolizer.h50 void FillModuleInfo(const LoadedModule &mod);
173 const LoadedModule *FindModuleForAddress(uptr address);
H A Dsanitizer_symbolizer_libcdep.cpp178 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
201 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
211 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
217 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
H A Dsanitizer_linux_libcdep.cpp633 InternalMmapVectorNoCtor<LoadedModule> *modules;
638 InternalMmapVectorNoCtor<LoadedModule> *modules) { in AddModuleSegments()
641 LoadedModule cur_module; in AddModuleSegments()
717 static void procmapsInit(InternalMmapVectorNoCtor<LoadedModule> *modules) { in procmapsInit()
H A Dsanitizer_symbolizer.cpp47 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo()
H A Dsanitizer_coverage_libcdep_new.cpp23 using AddressRange = LoadedModule::AddressRange;
H A Dsanitizer_mac.cpp1351 static inline bool CompareBaseAddress(const LoadedModule &a, in CompareBaseAddress()
1352 const LoadedModule &b) { in CompareBaseAddress()
1368 InternalMmapVector<LoadedModule> modules; in DumpProcessMap()
H A Dsanitizer_win.cpp709 modules_.push_back(LoadedModule()); in init()
710 LoadedModule &cur_module = modules_.back(); in init()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp37 u64 SegmentSizeBytes(ArrayRef<LoadedModule> Modules) { in SegmentSizeBytes()
61 void SerializeSegmentsToBuffer(ArrayRef<LoadedModule> Modules, in SerializeSegmentsToBuffer()
207 u64 SerializeToRawProfile(MIBMapTy &MIBMap, ArrayRef<LoadedModule> Modules, in SerializeToRawProfile()
H A Dmemprof_rawprofile.h11 u64 SerializeToRawProfile(MIBMapTy &BlockCache, ArrayRef<LoadedModule> Modules,
H A Dmemprof_allocator.cpp302 ArrayRef<LoadedModule> Modules(List.begin(), List.end()); in FinishAndWrite()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/tests/
H A Drawprofile.cpp47 __sanitizer::LoadedModule FakeModule; in TEST()
52 __sanitizer::ArrayRef<__sanitizer::LoadedModule> Modules(&FakeModule, in TEST()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp580 for (const std::string &LoadedModule : LoadedModules) in registerAll() local
581 MM.cacheModuleLoad(*PP.getIdentifierInfo(LoadedModule), in registerAll()
582 MM.findModule(LoadedModule)); in registerAll()
587 for (const std::string &LoadedModule : LoadedModules) { in markAllUnavailable() local
589 LoadedModule)) { in markAllUnavailable()