Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp96 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
123 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
131 for (const __sanitizer::LoadedModule::AddressRange &range : in ProcessGlobalRegions()
H A Dlsan_common_fuchsia.cpp32 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
H A Dlsan_common.h274 LoadedModule *GetLinker();
H A Dlsan_common.cpp74 const LoadedModule *suppress_module = nullptr;
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp137 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
143 void LoadedModule::set(const char *module_name, uptr base_address, in set()
153 void LoadedModule::setUuid(const char *uuid, uptr size) { in setUuid()
160 void LoadedModule::clear() { in clear()
175 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable, in addAddressRange()
184 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()
421 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
429 LoadedModule *cur_module = nullptr; in DumpListOfModules()
434 modules->push_back(LoadedModule()); in DumpListOfModules()
H A Dsanitizer_procmaps.h50 void AddAddressRanges(LoadedModule *module);
91 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_symbolizer.h50 void FillModuleInfo(const LoadedModule &mod);
153 const LoadedModule *FindModuleForAddress(uptr address);
H A Dsanitizer_common.h798 class LoadedModule {
800 LoadedModule() in LoadedModule() function
867 const LoadedModule *begin() const { return modules_.begin(); } in begin()
868 LoadedModule *begin() { return modules_.begin(); } in begin()
869 const LoadedModule *end() const { return modules_.end(); } in end()
870 LoadedModule *end() { return modules_.end(); } in end()
872 const LoadedModule &operator[](uptr i) const {
887 InternalMmapVectorNoCtor<LoadedModule> modules_;
H A Dsanitizer_symbolizer_libcdep.cpp175 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
191 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
201 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
207 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
H A Dsanitizer_symbolizer.cpp45 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo()
H A Dsanitizer_linux_libcdep.cpp622 InternalMmapVectorNoCtor<LoadedModule> *modules;
627 InternalMmapVectorNoCtor<LoadedModule> *modules) { in AddModuleSegments()
630 LoadedModule cur_module; in AddModuleSegments()
710 static void procmapsInit(InternalMmapVectorNoCtor<LoadedModule> *modules) { in procmapsInit()
H A Dsanitizer_coverage_libcdep_new.cpp23 using AddressRange = LoadedModule::AddressRange;
H A Dsanitizer_mac.cpp1350 static inline bool CompareBaseAddress(const LoadedModule &a, in CompareBaseAddress()
1351 const LoadedModule &b) { in CompareBaseAddress()
1367 InternalMmapVector<LoadedModule> modules; in DumpProcessMap()
H A Dsanitizer_win.cpp704 modules_.push_back(LoadedModule()); in init()
705 LoadedModule &cur_module = modules_.back(); in init()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_procmaps_test.cpp43 InternalMmapVector<LoadedModule> modules; in TEST()
63 InternalMmapVector<LoadedModule> modules; in TEST()
/llvm-project-15.0.7/compiler-rt/lib/stats/
H A Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInstance.cpp581 for (const std::string &LoadedModule : LoadedModules) in registerAll() local
582 MM.cacheModuleLoad(*PP.getIdentifierInfo(LoadedModule), in registerAll()
583 MM.findModule(LoadedModule)); in registerAll()
588 for (const std::string &LoadedModule : LoadedModules) { in markAllUnavailable() local
590 LoadedModule)) { in markAllUnavailable()