Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp111 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
138 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
146 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.cpp86 const LoadedModule *suppress_module = nullptr;
/openbsd-src/gnu/llvm/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_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_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.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.h801 class LoadedModule {
803 LoadedModule() in LoadedModule() function
870 const LoadedModule *begin() const { return modules_.begin(); } in begin()
871 LoadedModule *begin() { return modules_.begin(); } in begin()
872 const LoadedModule *end() const { return modules_.end(); } in end()
873 LoadedModule *end() { return modules_.end(); } in end()
875 const LoadedModule &operator[](uptr i) const {
890 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.cpp638 InternalMmapVectorNoCtor<LoadedModule> *modules;
643 InternalMmapVectorNoCtor<LoadedModule> *modules) { in AddModuleSegments()
646 LoadedModule cur_module; in AddModuleSegments()
726 static void procmapsInit(InternalMmapVectorNoCtor<LoadedModule> *modules) { in procmapsInit()
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.cpp704 modules_.push_back(LoadedModule()); in init()
705 LoadedModule &cur_module = modules_.back(); in init()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_procmaps_test.cpp43 InternalMmapVector<LoadedModule> modules; in TEST()
63 InternalMmapVector<LoadedModule> modules; in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/stats/
H A Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCompilerInstance.cpp588 for (const std::string &LoadedModule : LoadedModules) in registerAll() local
589 MM.cacheModuleLoad(*PP.getIdentifierInfo(LoadedModule), in registerAll()
590 MM.findModule(LoadedModule)); in registerAll()
595 for (const std::string &LoadedModule : LoadedModules) { in markAllUnavailable() local
597 LoadedModule)) { in markAllUnavailable()