Home
last modified time | relevance | path

Searched refs:ModuleName (Results 1 – 25 of 94) sorted by relevance

1234

/llvm-project-15.0.7/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp133 std::string &ModuleName, in parseCommand() argument
137 ModuleName = ""; in parseCommand()
180 ModuleName = std::string(Pos, End - Pos); in parseCommand()
184 ModuleName = std::string(Pos, NameLength); in parseCommand()
188 BuildID = parseBuildID(ModuleName); in parseCommand()
191 ModuleName.clear(); in parseCommand()
195 ModuleName = BinaryName.str(); in parseCommand()
218 print({ModuleName, Offset}, ResOrErr, Printer); in executeCommand()
256 std::string ModuleName; in symbolizeInput() local
266 assert(ModuleName.empty()); in symbolizeInput()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-symbolizer/
H A Doutput-style-json-code.test9 # NO-FILE:[{"Address":"0x0","Error":{"Message":"[[MSG]]"},"ModuleName":"{{.*}}/no-file.exe"}]
15 # NOT-FOUND:[{"Address":"0x10000000","ModuleName":"{{.*}}/Inputs/addr.exe","Symbol":[{"Column":0,"D…
28 # NO-INLINES:{"Error":{"Message":"unable to parse arguments: some text"},"ModuleName":"{{.*}}/Input…
30 # NO-INLINES-NEXT:{"Address":"0x40054d","ModuleName":"{{.*}}/Inputs/addr.exe","Symbol":[{"Column":3…
32 # NO-INLINES-NEXT:{"Error":{"Message":"unable to parse arguments: some text2"},"ModuleName":"{{.*}}…
38 # INLINE:{"Error":{"Message":"unable to parse arguments: some text"},"ModuleName":"{{.*}}/Inputs/ad…
42 # INLINE-NEXT:{"Error":{"Message":"unable to parse arguments: some text2"},"ModuleName":"{{.*}}/Inp…
49 # INLINE-A2L:{"Error":{"Message":"unable to parse arguments: some text"},"ModuleName":"{{.*}}/Input…
53 # INLINE-A2L-NEXT:{"Error":{"Message":"unable to parse arguments: some text2"},"ModuleName":"{{.*}}…
59 # NO-FUNC-A2L:{"Error":{"Message":"unable to parse arguments: some text"},"ModuleName":"{{.*}}/Inpu…
[all …]
H A Doutput-style-json-data.test8 # NO-FILE:[{"Address":"0x0","Error":{"Message":"[[MSG]]"},"ModuleName":"{{.*}}no-file.o"}]
13 # INVARG:[{"Error":{"Message":"unable to parse arguments: DATA tmp.o Z"},"ModuleName":"tmp.o"}]
20 # NOT-FOUND:[{"Address":"0x10000000","Data":{"Name":"","Size":"0x0","Start":"0x0"},"ModuleName":"{{…
25 # CHECK:[{"Address":"0x0","Data":{"Name":"d1","Size":"0x8","Start":"0x0"},"ModuleName":"{{.*}}.o"}]
30 …ze":"0x8","Start":"0x0"},"ModuleName":"{{.*}}.o"},{"Address":"0x8","Data":{"Name":"d2","Size":"0x4…
H A Doutput-style-json-frame.ll8 ; NO-FILE:[{"Address":"0x0","Error":{"Message":"[[MSG]]"},"ModuleName":"{{.*}}no-file.o"}]
13 ; INVARG:[{"Error":{"Message":"unable to parse arguments: FRAME tmp.o Z"},"ModuleName":"tmp.o"}]
20 ; NOT-FOUND:[{"Address":"0x10000000","Frame":[],"ModuleName":"{{.*}}.o"}]
25 …ameOffset":12,"FunctionName":"f","Name":"c","Size":"0x4","TagOffset":""}],"ModuleName":"{{.*}}.o"}]
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp65 void visitImport(StringRef ModuleName, StringRef Filename) override { in visitImport() argument
66 if (PrebuiltModuleFiles.insert({ModuleName.str(), Filename.str()}).second) in visitImport()
141 llvm::Optional<StringRef> ModuleName = None) in DependencyScanningAction() argument
144 DisableFree(DisableFree), ModuleName(ModuleName) {} in DependencyScanningAction()
243 if (ModuleName) in runInvocation()
261 llvm::Optional<StringRef> ModuleName; member in __anone24e14be0111::DependencyScanningAction
311 DependencyConsumer &Consumer, llvm::Optional<StringRef> ModuleName) { in computeDependencies() argument
321 if (ModuleName) { in computeDependencies()
323 InMemoryFS->addFile(*ModuleName, 0, llvm::MemoryBuffer::getMemBuffer("")); in computeDependencies()
324 ModifiedCommandLine->emplace_back(*ModuleName); in computeDependencies()
[all …]
H A DDependencyScanningTool.cpp59 llvm::Optional<StringRef> ModuleName) { in getDependencyFile() argument
113 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); in getDependencyFile()
125 llvm::Optional<StringRef> ModuleName) { in getFullDependencies() argument
143 ClangModuleDeps[MD.ID.ContextHash + MD.ID.ModuleName] = std::move(MD); in getFullDependencies()
194 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); in getFullDependencies()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp53 bool __sanitizer_symbolize_code(const char *ModuleName, uint64_t ModuleOffset, in __sanitizer_symbolize_code() argument
59 llvm::symbolize::Request Request{ModuleName, ModuleOffset}; in __sanitizer_symbolize_code()
67 ModuleName, in __sanitizer_symbolize_code()
73 ModuleName, in __sanitizer_symbolize_code()
82 bool __sanitizer_symbolize_data(const char *ModuleName, uint64_t ModuleOffset, in __sanitizer_symbolize_data() argument
88 llvm::symbolize::Request Request{ModuleName, ModuleOffset}; in __sanitizer_symbolize_data()
95 ModuleName, in __sanitizer_symbolize_data()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DModuleBuilder.cpp70 static llvm::StringRef ExpandModuleName(llvm::StringRef ModuleName, in ExpandModuleName() argument
72 if (ModuleName == "-" && !CGO.MainFileName.empty()) in ExpandModuleName()
74 return ModuleName; in ExpandModuleName()
78 CodeGeneratorImpl(DiagnosticsEngine &diags, llvm::StringRef ModuleName, in CodeGeneratorImpl() argument
87 M(new llvm::Module(ExpandModuleName(ModuleName, CGO), C)) { in CodeGeneratorImpl()
136 llvm::Module *StartModule(llvm::StringRef ModuleName, in StartModule() argument
139 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule()
357 llvm::Module *CodeGenerator::StartModule(llvm::StringRef ModuleName, in StartModule() argument
359 return static_cast<CodeGeneratorImpl*>(this)->StartModule(ModuleName, C); in StartModule()
363 clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags, llvm::StringRef ModuleName, in CreateLLVMCodeGen() argument
[all …]
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h33 std::string ModuleName; member
38 : ModuleName(M->getTopLevelModuleName()), in PrebuiltModuleDep()
47 std::string ModuleName; member
58 return ModuleName == Other.ModuleName && ContextHash == Other.ContextHash;
64 return llvm::hash_combine(MID.ModuleName, MID.ContextHash); in operator()
H A DDependencyScanningTool.h84 llvm::Optional<StringRef> ModuleName = None);
101 llvm::Optional<StringRef> ModuleName = None);
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp88 LLVMSymbolizer::symbolizeCode(const std::string &ModuleName, in symbolizeCode() argument
90 return symbolizeCodeCommon(ModuleName, ModuleOffset); in symbolizeCode()
182 LLVMSymbolizer::symbolizeData(const std::string &ModuleName, in symbolizeData() argument
184 return symbolizeDataCommon(ModuleName, ModuleOffset); in symbolizeData()
225 return symbolizeFrameCommon(ModuleName, ModuleOffset); in symbolizeFrame()
590 StringRef ModuleName) { in createModuleInfo() argument
606 std::string BinaryName = ModuleName; in getOrCreateModuleInfo()
608 size_t ColonPos = ModuleName.find_last_of(':'); in getOrCreateModuleInfo()
613 BinaryName = ModuleName.substr(0, ColonPos); in getOrCreateModuleInfo()
618 auto I = Modules.find(ModuleName); in getOrCreateModuleInfo()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp245 std::string ModuleName = stringFromPath(Path); in ActOnModuleDecl() local
247 ModuleName += ":"; in ActOnModuleDecl()
248 ModuleName += stringFromPath(Partition); in ActOnModuleDecl()
253 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl()
271 if (auto *M = Map.findModule(ModuleName)) { in ActOnModuleDecl()
293 PP.getIdentifierInfo(ModuleName), Path[0].second); in ActOnModuleDecl()
438 std::string ModuleName; in ActOnModuleImport() local
446 ModuleName += ":"; in ActOnModuleImport()
447 ModuleName += stringFromPath(Path); in ActOnModuleImport()
451 ModuleName = stringFromPath(Path); in ActOnModuleImport()
[all …]
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h93 StringRef ModuleName) = 0;
95 StringRef ModuleName) = 0;
108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName);
153 StringRef ModuleName) override;
156 StringRef ModuleName) override;
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInstance.cpp576 LoadedModules.push_back(ModuleName.str()); in ReadModuleName()
1141 << ModuleName;
1167 Invocation->getLangOpts()->ModuleName =
1223 SourceMgr.pushModuleBuildStack(ModuleName,
1234 << ModuleName << ModuleFileName;
1251 << ModuleName;
1808 << ModuleName; in findOrCompileModuleAndReadAST()
1856 << ModuleName; in findOrCompileModuleAndReadAST()
1901 if (Pos->first == ModuleName) in findOrCompileModuleAndReadAST()
1911 CyclePath += ModuleName; in findOrCompileModuleAndReadAST()
[all …]
H A DDiagnosticRenderer.cpp232 StringRef ModuleName) { in emitImportStackRecursively() argument
233 if (ModuleName.empty()) { in emitImportStackRecursively()
244 emitImportLocation(Loc, PLoc, ModuleName); in emitImportStackRecursively()
611 StringRef ModuleName) { in emitImportLocation() argument
615 Message << "in module '" << ModuleName; in emitImportLocation()
625 StringRef ModuleName) { in emitBuildingModuleLocation() argument
630 Message << "while building module '" << ModuleName << "' imported from " in emitBuildingModuleLocation()
633 Message << "while building module '" << ModuleName << "':"; in emitBuildingModuleLocation()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h79 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName,
87 symbolizeInlinedCode(const std::string &ModuleName,
95 Expected<DIGlobal> symbolizeData(const std::string &ModuleName,
102 symbolizeFrame(const std::string &ModuleName,
148 getOrCreateModuleInfo(const std::string &ModuleName);
159 StringRef ModuleName);
/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderSearch.cpp185 auto i(HSOpts->PrebuiltModuleFiles.find(ModuleName)); in getPrebuiltModuleFileName()
197 if (ModuleName.contains(':')) in getPrebuiltModuleFileName()
216 StringRef ModuleName = Module->Name; in getPrebuiltImplicitModuleFileName() local
278 Module *HeaderSearch::lookupModule(StringRef ModuleName, in lookupModule() argument
282 Module *Module = ModMap.findModule(ModuleName); in lookupModule()
286 StringRef SearchName = ModuleName; in lookupModule()
345 Module = ModMap.findModule(ModuleName); in lookupModule()
358 Module = ModMap.findModule(ModuleName); in lookupModule()
374 Module = ModMap.findModule(ModuleName); in lookupModule()
597 StringRef ModuleName(Filename.begin(), SlashPos); in DoFrameworkLookup() local
[all …]
H A DPragma.cpp782 &ModuleName) { in LexModuleName() argument
787 ModuleName.push_back(NameComponent); in LexModuleName()
1114 ModuleName; in HandlePragma() local
1119 for (auto IIAndLoc : ModuleName) { in HandlePragma()
1643 ModuleName; in HandlePragma() local
1644 if (LexModuleName(PP, Tok, ModuleName)) in HandlePragma()
1680 ModuleName; in HandlePragma() local
1681 if (LexModuleName(PP, Tok, ModuleName)) in HandlePragma()
1691 << ModuleName.front().first << (ModuleName.size() > 1) in HandlePragma()
1701 PP.Diag(ModuleName.front().second, in HandlePragma()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleDescriptorBuilder.cpp43 DbiModuleDescriptorBuilder::DbiModuleDescriptorBuilder(StringRef ModuleName, in DbiModuleDescriptorBuilder() argument
46 : MSF(Msf), ModuleName(std::string(ModuleName)) { in DbiModuleDescriptorBuilder()
115 uint32_t M = ModuleName.size() + 1; in calculateSerializedLength()
155 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit()
H A DDbiModuleDescriptor.cpp27 if (auto EC = Reader.readCString(Info.ModuleName)) in initialize()
76 StringRef DbiModuleDescriptor::getModuleName() const { return ModuleName; } in getModuleName()
81 uint32_t M = ModuleName.str().size() + 1; in getRecordLength()
/llvm-project-15.0.7/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp194 llvm::cl::opt<std::string> ModuleName( variable
263 return std::tie(A.ModuleName, A.ContextHash) < in toJSONSorted()
264 std::tie(B.ModuleName, B.ContextHash); in toJSONSorted()
270 {{"module-name", MID.ModuleName}, {"context-hash", MID.ContextHash}})); in toJSONSorted()
313 return std::tie(A.ID.ModuleName, A.InputIndex) < in printFullOutput()
314 std::tie(B.ID.ModuleName, B.InputIndex); in printFullOutput()
327 {"name", MD.ID.ModuleName}, in printFullOutput()
405 return ID.ModuleName == Other.ID.ModuleName && in operator ==()
414 return hash_combine(IMID.ID.ModuleName, IMID.ID.ContextHash); in operator ()()
577 if (!ModuleName.empty()) in main()
[all …]
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp49 success = options_dict.HasKey(GetKey(OptionNames::ModuleName)); in CreateFromStructuredData()
52 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
73 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName), in SerializeToStructuredData()
81 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName), in SerializeToStructuredData()
/llvm-project-15.0.7/clang/tools/libclang/
H A DBuildSystem.cpp98 std::string ModuleName; member
112 MMD->ModuleName = name; in clang_ModuleMapDescriptor_setFrameworkModuleName()
135 OS << "framework module " << MMD->ModuleName << " {\n"; in clang_ModuleMapDescriptor_writeToBuffer()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleDescriptorBuilder.h67 DbiModuleDescriptorBuilder(StringRef ModuleName, uint32_t ModIndex,
106 StringRef getModuleName() const { return ModuleName; } in getModuleName()
141 std::string ModuleName; variable
/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DModuleBuilder.h98 llvm::Module* StartModule(llvm::StringRef ModuleName, llvm::LLVMContext &C);
105 llvm::StringRef ModuleName,

1234