Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 25 of 71) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/
H A Dget_module_and_offset_for_pc.cpp23 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 Dmodule-deps-to-rsp.py18 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 Dmodfuzz.py155 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 Dlldbutil.py328 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 Dsanitizer_symbolizer_libcdep.cpp104 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 Dsanitizer_symbolizer.h127 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 Dsanitizer_coverage_libcdep_new.cpp49 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 Dsanitizer_stacktrace_libcdep.cpp169 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 Dsanitizer_symbolizer_posix_libcdep.cpp205 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 Dsanitizer_procmaps_common.cpp123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
H A Dsanitizer_linux_libcdep.cpp626 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 DBreakpointResolverAddress.cpp36 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__.py60 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 DStackFrameRecognizer.cpp71 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 DSectionLoadList.cpp144 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 Ddump_oplib.py54 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 DTestDeadStrip.py24 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 DModuleCacheTest.cpp41 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 Dasan_globals.cpp88 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 Dlldbutil.py408 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__.py8 module_name = '_lldb' variable
9 sys.modules[module_name] = Mock()
/llvm-project-15.0.7/mlir/test/python/dialects/linalg/opdsl/
H A Ddoctests.py6 def test_module(module_name): argument
8 m = importlib.import_module(module_name)
/llvm-project-15.0.7/lldb/examples/python/
H A Dsources.py21 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 Dtest_loader.py558 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 Ddiscovery.py38 module_name = module_file_name.replace(".py", "")
39 module = importlib.import_module(module_name)

123