Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/lsan/
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()
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()
/external/compiler-rt/lib/lsan/
Dlsan_common_linux.cc30 static char linker_placeholder[sizeof(LoadedModule)] ALIGNED(64);
31 static LoadedModule *linker = nullptr;
40 for (LoadedModule &module : modules) { in InitializePlatformSpecificModules()
43 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
45 module = LoadedModule(); in InitializePlatformSpecificModules()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp130 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
136 void LoadedModule::set(const char *module_name, uptr base_address, in set()
145 void LoadedModule::clear() { in clear()
160 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable, in addAddressRange()
170 bool LoadedModule::containsAddress(uptr address) const { in containsAddress()
Dsanitizer_procmaps_mac.cpp49 static void NextSectionLoad(LoadedModule *module, MemoryMappedSegmentData *data, in NextSectionLoad()
60 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
355 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
363 LoadedModule *cur_module = nullptr; in DumpListOfModules()
368 modules->push_back(LoadedModule()); in DumpListOfModules()
Dsanitizer_procmaps_common.cpp66 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
121 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
141 LoadedModule cur_module; in DumpListOfModules()
Dsanitizer_procmaps.h50 void AddAddressRanges(LoadedModule *module);
81 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
Dsanitizer_common.h733 class LoadedModule {
735 LoadedModule() in LoadedModule() function
798 const LoadedModule *begin() const { return modules_.begin(); } in begin()
799 LoadedModule *begin() { return modules_.begin(); } in begin()
800 const LoadedModule *end() const { return modules_.end(); } in end()
801 LoadedModule *end() { return modules_.end(); } in end()
803 const LoadedModule &operator[](uptr i) const {
818 InternalMmapVectorNoCtor<LoadedModule> modules_;
Dsanitizer_symbolizer_libcdep.cpp178 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
194 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
204 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
210 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
Dsanitizer_symbolizer.h149 const LoadedModule *FindModuleForAddress(uptr address);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cc159 InternalMmapVector<LoadedModule> *modules) { in DumpListOfModules()
169 LoadedModule *cur_module = nullptr; in DumpListOfModules()
174 modules->push_back(LoadedModule()); in DumpListOfModules()
Dsanitizer_common.h646 class LoadedModule {
648 LoadedModule() : full_name_(nullptr), base_address_(0) { ranges_.clear(); } in LoadedModule() function
682 const LoadedModule *begin() const { return modules_.begin(); } in begin()
683 LoadedModule *begin() { return modules_.begin(); } in begin()
684 const LoadedModule *end() const { return modules_.end(); } in end()
685 LoadedModule *end() { return modules_.end(); } in end()
687 const LoadedModule &operator[](uptr i) const {
698 InternalMmapVector<LoadedModule> modules_;
Dsanitizer_common.cc251 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
257 void LoadedModule::clear() { in clear()
267 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable) { in addAddressRange()
273 bool LoadedModule::containsAddress(uptr address) const { in containsAddress()
Dsanitizer_procmaps_common.cc120 InternalMmapVector<LoadedModule> *modules) { in DumpListOfModules()
142 LoadedModule cur_module; in DumpListOfModules()
Dsanitizer_procmaps.h47 void DumpListOfModules(InternalMmapVector<LoadedModule> *modules);
Dsanitizer_coverage_mapping_libcdep.cc78 for (const LoadedModule &module : modules) { in CovUpdateMapping()
Dsanitizer_symbolizer.h119 const LoadedModule *FindModuleForAddress(uptr address);
Dsanitizer_symbolizer_libcdep.cc138 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
146 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cpp39 InternalMmapVector<LoadedModule> modules; in TEST()
59 InternalMmapVector<LoadedModule> modules; in TEST()
/external/skia/src/sksl/
DSkSLCompiler.h54 struct LoadedModule { struct
175 LoadedModule loadModule(ProgramKind kind, ModuleData data, std::shared_ptr<SymbolTable> base,
202 bool optimize(LoadedModule& module);
DSkSLAnalysis.h23 struct LoadedModule;
72 static std::unique_ptr<ProgramUsage> GetUsage(const LoadedModule& module);
DSkSLCompiler.cpp310 LoadedModule Compiler::loadModule(ProgramKind kind, in loadModule()
350 LoadedModule module = { kind, std::move(ir.fSymbolTable), std::move(ir.fElements) }; in loadModule()
358 LoadedModule module = { kind, rehydrator.symbolTable(), rehydrator.elements() }; in loadModule()
365 LoadedModule module = this->loadModule(kind, data, base.fSymbols, /*dehydrate=*/false); in parseModule()
563 bool Compiler::optimize(LoadedModule& module) { in optimize()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_procmaps_test.cc40 InternalMmapVector<LoadedModule> modules(kMaxModules); in TEST()
/external/llvm-project/compiler-rt/lib/stats/
Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()
/external/compiler-rt/lib/stats/
Dstats.cc65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()

12