Home
last modified time | relevance | path

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

1234

/llvm-project/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/clang/utils/
H A Dmodule-deps-to-rsp.py8 # module-deps-to-rsp.py deps.json --module-name=ModuleName > module_name.cc1.rsp
10 # clang @module_name.cc1.rsp
19 def __init__(self, module_name): argument
20 self.module_name = module_name
29 def findModule(module_name, full_deps): argument
31 if m["name"] == module_name:
33 raise ModuleNotFoundError(module_name)
75 if args.module_name:
76 cmd = findModule(args.module_name, full_dep
[all...]
H A Dmodfuzz.py179 def add_import(model, options, module_name): argument
181 if module_name in model.modules:
182 model.source += '#include "%s.h"\n' % module_name
183 model.decls.update(model.modules[module_name][1])
/llvm-project/lldb/utils/lui/
H A Dlldbutil.py337 module_name=None, argument
353 if module_name:
354 command += " --shlib '%s'" % (module_name)
368 module_name=module_name,
384 module_name=None, argument
392 if module_name:
393 command += " --shlib '%s'" % (module_name)
406 module_name=module_name,
417 test, selector, extra_options=None, num_expected_locations=-1, module_name=None argument
423 if module_name:
[all …]
/llvm-project/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()
139 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
148 if (module_name) in GetModuleNameAndOffsetForPC()
149 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
175 const char **module_name, in FindModuleNameAndOffsetForAddress() argument
[all …]
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
86 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
93 GetModuleAndOffsetForPc(pc, module_name, kMaxPathLength, &pcs[i]); in SanitizerDumpCoverage()
98 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
103 InternalFree(module_name); in SanitizerDumpCoverage()
H A Dsanitizer_stacktrace_libcdep.cpp170 int GetModuleAndOffsetForPc(uptr pc, char *module_name, uptr module_name_len, in GetModuleAndOffsetForPc() argument
178 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
179 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
180 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
221 int __sanitizer_get_module_and_offset_for_pc(void *pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument
225 reinterpret_cast<uptr>(pc), module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer_posix_libcdep.cpp206 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
207 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
209 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
291 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
295 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
302 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
305 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
H A Dsanitizer_symbolizer.h147 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
150 const char *module_name = nullptr; in GetModuleNameForPc() local
152 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
153 return module_name; in GetModuleNameForPc()
204 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
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()
/llvm-project/lldb/source/Target/
H A DStackFrameRecognizer.cpp91 std::string module_name; in RemoveRecognizerWithID()
95 module_name = entry.module_regexp->GetText().str(); in RemoveRecognizerWithID()
100 module_name, llvm::ArrayRef(ConstString(symbol_name)), in RemoveRecognizerWithID()
148 ConstString module_name = module_sp->GetFileSpec().GetFilename();
160 if (entry.module != module_name)
164 if (!entry.module_regexp->Execute(module_name.GetStringRef()))
71 std::string module_name; ForEach() local
115 ConstString module_name = module_sp->GetFileSpec().GetFilename(); GetRecognizerForFrame() local
H A DSectionLoadList.cpp154 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
158 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
161 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded()
189 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
192 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
199 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
/llvm-project/lldb/test/API/commands/command/script/add/
H A Dtest_commands.py47 def register_lldb_command(cls, debugger, module_name):
48 ParsedCommand.do_register_cmd(cls, debugger, module_name) argument
125 def register_lldb_command(cls, debugger, module_name): argument
126 ParsedCommand.do_register_cmd(cls, debugger, module_name)
154 def register_lldb_command(cls, debugger, module_name):
155 ParsedCommand.do_register_cmd(cls, debugger, module_name)
153 register_lldb_command(cls, debugger, module_name) global() argument
/llvm-project/mlir/python/mlir/dialects/linalg/opdsl/
H A Ddump_oplib.py52 def load_module_from_file(module_name, file_path): argument
53 spec = importlib.util.spec_from_file_location(module_name, file_path)
63 for module_name in args.modules:
65 importlib.import_module(module_name, package="mlir.dialects.linalg.opdsl")
/llvm-project/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/lldb/test/API/functionalities/dead-strip/
H A DTestDeadStrip.py22 self, "f1", num_expected_locations=1, module_name="a.out"
27 self, "f2", num_expected_locations=0, module_name="a.out"
32 self, "f3", num_expected_locations=1, module_name="a.out"
/llvm-project/mlir/python/mlir/_mlir_libs/
H A D__init__.py106 def process_initializer_module(module_name):
110 m = importlib.import_module(f".{module_name}", __name__)
115 f"Error importing mlir initializer {module_name}. This may "
122 logger.debug("Initializing MLIR with module: %s", module_name)
146 module_name = f"_site_initialize_{i}"
147 if not process_initializer_module(module_name):
84 process_initializer_module(module_name) global() argument
/llvm-project/compiler-rt/lib/asan/
H A Dasan_globals.cpp153 g.module_name, (symbolized ? info.module : "?"), g.has_dynamic_init, in CheckODRViolationViaIndicator()
302 DynInitGlobals()[g->module_name].push_back(
373 : g.module_name); in __asan_register_globals()
379 str->AppendF("%s", g.module_name); in __asan_register_globals()
457 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_after_dynamic_init()
491 void __asan_before_dynamic_init(const char *module_name) {
495 CHECK(module_name);
498 if (current_dynamic_init_module_name == module_name)
501 Printf("DynInitPoison module: %s\n", module_name);
506 if (kv.first != module_name) {
429 __asan_before_dynamic_init(const char * module_name) __asan_before_dynamic_init() argument
[all...]
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dlldbutil.py343 module_name=None, argument
360 if module_name:
361 command += " --shlib '%s'" % (module_name)
375 module_name=module_name,
391 module_name=None, argument
399 if module_name:
400 command += " --shlib '%s'" % (module_name)
413 module_name=module_name,
424 run_break_set_by_selector( test, selector, extra_options=None, num_expected_locations=-1, module_name=None ) global() argument
581 check_breakpoint_result( test, break_results, file_name=None, line_number=-1, column_number=0, symbol_name=None, symbol_match_exact=True, module_name=None, offset=-1, num_locations=-1, ) global() argument
[all...]
/llvm-project/lldb/docs/_lldb/
H A D__init__.py8 module_name = "_lldb" variable
9 sys.modules[module_name] = Mock()
/llvm-project/mlir/test/python/dialects/linalg/opdsl/
H A Ddoctests.py7 def test_module(module_name): argument
9 m = importlib.import_module(module_name)
/llvm-project/lldb/examples/python/
H A Dsources.py20 for module_name in module_names:
21 dump_module_sources(target.module[module_name], result)
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp63 void SetCurrentModuleProgress(std::string module_name);
185 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark()
186 SetCurrentModuleProgress(module_name); in HandleModuleRemark() local
187 m_module_build_stack.push_back(module_name); in HandleModuleRemark()
190 LLDB_LOG(log, "Building Clang module {0} as {1}", module_name, module_path); in HandleModuleRemark()
206 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark()
207 LLDB_LOG(log, "Finished building Clang module {0}", module_name); in HandleModuleRemark() local
216 std::string module_name) { in SetCurrentModuleProgress()
221 m_current_progress_up->Increment(1, std::move(module_name)); in SetCurrentModuleProgress()
217 SetCurrentModuleProgress(std::string module_name) SetCurrentModuleProgress() argument
/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp35 llvm::StringRef module_name; in CreateFromStructuredData() local
52 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
58 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
/llvm-project/mlir/utils/mbr/mbr/
H A Ddiscovery.py34 module_name = module_file_name.replace(".py", "")
35 module = importlib.import_module(module_name)

1234