| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/ |
| H A D | get_module_and_offset_for_pc.cpp | 23 char module_name[1024]; in Test() local 26 pc, module_name, sizeof(module_name), &offset); in Test() 30 printf("FOUND %s: %s %p\n", name, module_name, offset); in Test() 49 char module_name[1024]; in TestLoop() local 52 __sanitizer_get_module_and_offset_for_pc(pc, module_name, in TestLoop() 53 sizeof(module_name), &offset); in TestLoop()
|
| /llvm-project-15.0.7/clang/utils/ |
| H A D | module-deps-to-rsp.py | 18 def __init__(self, module_name): argument 19 self.module_name = module_name 26 def findModule(module_name, full_deps): argument 28 if m['name'] == module_name: 30 raise ModuleNotFoundError(module_name) 58 if args.module_name: 59 cmd = findModule(args.module_name, full_deps)['command-line']
|
| H A D | modfuzz.py | 155 def add_import(model, options, module_name): argument 157 if module_name in model.modules: 158 model.source += '#include "%s.h"\n' % module_name 159 model.decls.update(model.modules[module_name][1])
|
| /llvm-project-15.0.7/lldb/utils/lui/ |
| H A D | lldbutil.py | 328 module_name=None): argument 342 if module_name: 357 module_name=module_name) 373 module_name=None): argument 379 if module_name: 393 module_name=module_name) 408 module_name=None): argument 413 if module_name: 428 module_name=module_name) 544 module_name=None, argument [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_libcdep.cpp | 104 const char *module_name = nullptr; in SymbolizeData() local 107 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData() 111 info->module = internal_strdup(module_name); in SymbolizeData() 125 const char *module_name = nullptr; in SymbolizeFrame() local 127 addr, &module_name, &info->module_offset, &info->module_arch)) in SymbolizeFrame() 129 info->module = internal_strdup(module_name); in SymbolizeFrame() 148 if (module_name) in GetModuleNameAndOffsetForPC() 149 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC() 178 *module_name = module->full_name(); in FindModuleNameAndOffsetForAddress() 441 const char *module_name, in FormatAndSendCommand() argument [all …]
|
| H A D | sanitizer_symbolizer.h | 127 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, 130 const char *module_name = nullptr; in GetModuleNameForPc() local 132 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc() 133 return module_name; in GetModuleNameForPc() 182 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
|
| H A D | sanitizer_coverage_libcdep_new.cpp | 49 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument 51 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage() 63 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local 85 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 92 GetModuleAndOffsetForPc(pc, module_name, kMaxPathLength, &pcs[i]); in SanitizerDumpCoverage() 97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 102 InternalFree(module_name); in SanitizerDumpCoverage()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 169 int GetModuleAndOffsetForPc(uptr pc, char *module_name, uptr module_name_len, in GetModuleAndOffsetForPc() argument 177 if (module_name && module_name_len) { in GetModuleAndOffsetForPc() 178 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc() 179 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc() 219 int __sanitizer_get_module_and_offset_for_pc(void *pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument 223 reinterpret_cast<uptr>(pc), module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
|
| H A D | sanitizer_symbolizer_posix_libcdep.cpp | 205 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument 206 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess() 208 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess 290 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument 294 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand() 301 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand() 304 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
|
| H A D | sanitizer_procmaps_common.cpp | 123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local 124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
|
| H A D | sanitizer_linux_libcdep.cpp | 626 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument 628 if (module_name[0] == '\0') in AddModuleSegments() 631 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments() 678 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local 681 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb() 682 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb() 686 InternalScopedString module_name; in dl_iterate_phdr_cb() local 687 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb() 688 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverAddress.cpp | 36 llvm::StringRef module_name; in CreateFromStructuredData() local 52 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData() 57 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData() 69 ConstString module_name; in SerializeToStructuredData() local 71 module_name.SetCString(module_name.GetCString()); in SerializeToStructuredData() 74 module_name.GetCString()); in SerializeToStructuredData()
|
| /llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/ |
| H A D | __init__.py | 60 def process_initializer_module(module_name): argument 66 logging.debug("Initializing MLIR with module: %s", module_name) 83 module_name = f"_site_initialize_{i}" 84 if not process_initializer_module(module_name):
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | StackFrameRecognizer.cpp | 71 std::string module_name; in ForEach() local 75 module_name = entry.module_regexp->GetText().str(); in ForEach() 79 callback(entry.recognizer_id, entry.recognizer->GetName(), module_name, in ForEach() 115 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame() local 124 if (entry.module != module_name) in GetRecognizerForFrame() 128 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
|
| H A D | SectionLoadList.cpp | 144 std::string module_name("<Unknown>"); in SetSectionUnloaded() local 148 module_name = module_file_spec.GetPath(); in SetSectionUnloaded() 151 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded() 179 std::string module_name("<Unknown>"); in SetSectionUnloaded() local 182 module_name = module_file_spec.GetPath(); in SetSectionUnloaded() 189 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/ |
| H A D | dump_oplib.py | 54 def load_module_from_file(module_name, file_path): argument 55 spec = importlib.util.spec_from_file_location(module_name, file_path) 65 for module_name in args.modules: 67 importlib.import_module(module_name,
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/dead-strip/ |
| H A D | TestDeadStrip.py | 24 self, "f1", num_expected_locations=1, module_name="a.out") 28 self, "f2", num_expected_locations=0, module_name="a.out") 32 self, "f3", num_expected_locations=1, module_name="a.out")
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | ModuleCacheTest.cpp | 41 static const char module_name[] = "TestModule.so"; variable 49 fs.AppendPathComponent(module_name); in GetDummyRemotePath() 56 spec.AppendPathComponent(module_name); in GetUuidView() 63 spec.AppendPathComponent(module_name); in GetSysrootView() 69 s_test_executable = GetInputFilePath(module_name); in SetUp()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_globals.cpp | 88 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal() 306 str->append("%s", g.module_name); in PrintGlobalLocation() 382 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals() 416 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument 422 CHECK(module_name); in __asan_before_dynamic_init() 426 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init() 432 if (g->module_name != module_name) in __asan_before_dynamic_init()
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/ |
| H A D | lldbutil.py | 408 module_name=None): argument 423 if module_name: 438 module_name=module_name) 454 module_name=None): argument 460 if module_name: 474 module_name=module_name) 489 module_name=None): argument 494 if module_name: 509 module_name=module_name) 650 module_name=None, argument [all …]
|
| /llvm-project-15.0.7/lldb/docs/_lldb/ |
| H A D | __init__.py | 8 module_name = '_lldb' variable 9 sys.modules[module_name] = Mock()
|
| /llvm-project-15.0.7/mlir/test/python/dialects/linalg/opdsl/ |
| H A D | doctests.py | 6 def test_module(module_name): argument 8 m = importlib.import_module(module_name)
|
| /llvm-project-15.0.7/lldb/examples/python/ |
| H A D | sources.py | 21 for module_name in module_names: 22 dump_module_sources(target.module[module_name], result)
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/ |
| H A D | test_loader.py | 558 module_name = 'unittest2.test.dummy' 559 sys.modules.pop(module_name, None) 563 suite = loader.loadTestsFromName(module_name) 569 self.assertIn(module_name, sys.modules) 571 if module_name in sys.modules: 572 del sys.modules[module_name] 964 module_name = 'unittest2.test.dummy' 965 sys.modules.pop(module_name, None) 975 self.assertIn(module_name, sys.modules) 977 if module_name in sys.modules: [all …]
|
| /llvm-project-15.0.7/mlir/utils/mbr/mbr/ |
| H A D | discovery.py | 38 module_name = module_file_name.replace(".py", "") 39 module = importlib.import_module(module_name)
|