/external/llvm/tools/llvm-symbolizer/ |
D | llvm-symbolizer.cpp | 99 std::string &ModuleName, uint64_t &ModuleOffset) { in parseCommand() argument 104 ModuleName = ""; in parseCommand() 125 ModuleName = std::string(pos, end - pos); in parseCommand() 129 ModuleName = std::string(pos, name_length); in parseCommand() 133 ModuleName = ClBinaryName; in parseCommand() 174 std::string ModuleName; in main() local 176 if (!parseCommand(StringRef(InputString), IsData, ModuleName, in main() 189 auto ResOrErr = Symbolizer.symbolizeData(ModuleName, ModuleOffset); in main() 192 auto ResOrErr = Symbolizer.symbolizeInlinedCode(ModuleName, ModuleOffset); in main() 196 auto ResOrErr = Symbolizer.symbolizeCode(ModuleName, ModuleOffset); in main()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 64 StringRef ModuleName = Obj.getFileName(); in symbolizeCode() local 65 auto I = Modules.find(ModuleName); in symbolizeCode() 72 createModuleInfo(&Obj, std::move(Context), ModuleName); in symbolizeCode() 79 LLVMSymbolizer::symbolizeCode(const std::string &ModuleName, in symbolizeCode() argument 81 Expected<SymbolizableModule *> InfoOrErr = getOrCreateModuleInfo(ModuleName); in symbolizeCode() 88 LLVMSymbolizer::symbolizeInlinedCode(const std::string &ModuleName, in symbolizeInlinedCode() argument 91 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeInlinedCode() 118 LLVMSymbolizer::symbolizeData(const std::string &ModuleName, in symbolizeData() argument 121 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeData() 144 LLVMSymbolizer::symbolizeFrame(const std::string &ModuleName, in symbolizeFrame() argument [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 66 StringRef ModuleName = Obj.getFileName(); in symbolizeCode() local 67 auto I = Modules.find(ModuleName); in symbolizeCode() 73 createModuleInfo(&Obj, std::move(Context), ModuleName); in symbolizeCode() 80 LLVMSymbolizer::symbolizeCode(const std::string &ModuleName, in symbolizeCode() argument 82 Expected<SymbolizableModule *> InfoOrErr = getOrCreateModuleInfo(ModuleName); in symbolizeCode() 89 LLVMSymbolizer::symbolizeInlinedCode(const std::string &ModuleName, in symbolizeInlinedCode() argument 92 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeInlinedCode() 120 LLVMSymbolizer::symbolizeData(const std::string &ModuleName, in symbolizeData() argument 123 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeData() 146 LLVMSymbolizer::symbolizeFrame(const std::string &ModuleName, in symbolizeFrame() argument [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | ModuleBuilder.cpp | 68 static llvm::StringRef ExpandModuleName(llvm::StringRef ModuleName, in ExpandModuleName() argument 70 if (ModuleName == "-" && !CGO.MainFileName.empty()) in ExpandModuleName() 72 return ModuleName; in ExpandModuleName() 76 CodeGeneratorImpl(DiagnosticsEngine &diags, llvm::StringRef ModuleName, in CodeGeneratorImpl() argument 84 M(new llvm::Module(ExpandModuleName(ModuleName, CGO), C)) { in CodeGeneratorImpl() 129 llvm::Module *StartModule(llvm::StringRef ModuleName, in StartModule() argument 132 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule() 334 llvm::Module *CodeGenerator::StartModule(llvm::StringRef ModuleName, in StartModule() argument 336 return static_cast<CodeGeneratorImpl*>(this)->StartModule(ModuleName, C); in StartModule() 340 DiagnosticsEngine &Diags, llvm::StringRef ModuleName, in CreateLLVMCodeGen() argument [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
D | sanitizer_symbolize.cpp | 35 bool __sanitizer_symbolize_code(const char *ModuleName, uint64_t ModuleOffset, in __sanitizer_symbolize_code() argument 46 ModuleName, in __sanitizer_symbolize_code() 51 ModuleName, in __sanitizer_symbolize_code() 60 bool __sanitizer_symbolize_data(const char *ModuleName, uint64_t ModuleOffset, in __sanitizer_symbolize_data() argument 69 ModuleName, in __sanitizer_symbolize_data()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 60 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName, 63 symbolizeInlinedCode(const std::string &ModuleName, 65 Expected<DIGlobal> symbolizeData(const std::string &ModuleName, 68 symbolizeFrame(const std::string &ModuleName, 90 getOrCreateModuleInfo(const std::string &ModuleName); 95 StringRef ModuleName);
|
/external/llvm-project/llvm/tools/llvm-symbolizer/ |
D | llvm-symbolizer.cpp | 93 std::string &ModuleName, uint64_t &ModuleOffset) { in parseCommand() argument 95 ModuleName = ""; in parseCommand() 116 ModuleName = std::string(Pos, End - Pos); in parseCommand() 120 ModuleName = std::string(Pos, NameLength); in parseCommand() 124 ModuleName = BinaryName.str(); in parseCommand() 142 std::string ModuleName; in symbolizeInput() local 145 StringRef(InputString), Cmd, ModuleName, Offset)) { in symbolizeInput() 159 ModuleName, {Offset, object::SectionedAddress::UndefSection}); in symbolizeInput() 163 ModuleName, {Offset, object::SectionedAddress::UndefSection}); in symbolizeInput() 172 ModuleName, {Offset, object::SectionedAddress::UndefSection}); in symbolizeInput() [all …]
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 54 Expected<DILineInfo> LLVMSymbolizer::symbolizeCode(const std::string &ModuleName, in symbolizeCode() argument 57 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeCode() 80 LLVMSymbolizer::symbolizeInlinedCode(const std::string &ModuleName, in symbolizeInlinedCode() argument 83 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeInlinedCode() 109 Expected<DIGlobal> LLVMSymbolizer::symbolizeData(const std::string &ModuleName, in symbolizeData() argument 112 if (auto InfoOrErr = getOrCreateModuleInfo(ModuleName)) in symbolizeData() 365 LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) { in getOrCreateModuleInfo() argument 366 const auto &I = Modules.find(ModuleName); in getOrCreateModuleInfo() 370 std::string BinaryName = ModuleName; in getOrCreateModuleInfo() 372 size_t ColonPos = ModuleName.find_last_of(':'); in getOrCreateModuleInfo() [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 63 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName, 66 symbolizeInlinedCode(const std::string &ModuleName, 68 Expected<DIGlobal> symbolizeData(const std::string &ModuleName, 71 symbolizeFrame(const std::string &ModuleName, 93 getOrCreateModuleInfo(const std::string &ModuleName); 98 StringRef ModuleName);
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | ModInfo.cpp | 73 : ModuleName(Info.ModuleName), ObjFileName(Info.ObjFileName), in ModInfo() 83 if (auto EC = Reader.readZeroString(Info.ModuleName)) in initialize() 117 StringRef ModInfo::getModuleName() const { return ModuleName; } in getModuleName() 122 uint32_t M = ModuleName.str().size() + 1; in getRecordLength()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaModule.cpp | 161 std::string ModuleName; in ActOnModuleDecl() local 163 if (!ModuleName.empty()) in ActOnModuleDecl() 164 ModuleName += "."; in ActOnModuleDecl() 165 ModuleName += Piece.first->getName(); in ActOnModuleDecl() 171 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() 177 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 186 if (auto *M = Map.findModule(ModuleName)) { in ActOnModuleDecl() 187 Diag(Path[0].second, diag::err_module_redefinition) << ModuleName; in ActOnModuleDecl() 198 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl() 206 PP.getIdentifierInfo(ModuleName), Path[0].second); in ActOnModuleDecl() [all …]
|
/external/llvm-project/clang/tools/clang-scan-deps/ |
D | ClangScanDeps.cpp | 227 return std::tie(A.ModuleName, A.ContextHash) < in toJSONSorted() 228 std::tie(B.ModuleName, B.ContextHash); in toJSONSorted() 234 {{"module-name", CMD.ModuleName}, {"context-hash", CMD.ContextHash}})); in toJSONSorted() 253 auto I = Modules.find({MD.ContextHash, MD.ModuleName, 0}); in mergeDeps() 259 I, {{MD.ContextHash, MD.ModuleName, InputIndex}, std::move(MD)}); in mergeDeps() 279 return std::tie(A.ModuleName, A.InputIndex) < in printFullOutput() 280 std::tie(B.ModuleName, B.InputIndex); in printFullOutput() 293 {"name", MD.ModuleName}, in printFullOutput() 332 return Modules[ContextModulePair{CMD.ContextHash, CMD.ModuleName, 0}] in lookupPCMPath() 338 Modules.find(ContextModulePair{CMD.ContextHash, CMD.ModuleName, 0}); in lookupModuleDeps() [all …]
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 93 StringRef ModuleName) = 0; 95 StringRef ModuleName) = 0; 108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName); 153 StringRef ModuleName) override; 156 StringRef ModuleName) override;
|
/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 96 StringRef ModuleName, 99 StringRef ModuleName, 114 void emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName, 167 StringRef ModuleName, 171 StringRef ModuleName,
|
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 52 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName, 54 Expected<DIInliningInfo> symbolizeInlinedCode(const std::string &ModuleName, 56 Expected<DIGlobal> symbolizeData(const std::string &ModuleName, 72 getOrCreateModuleInfo(const std::string &ModuleName);
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 39 DbiModuleDescriptorBuilder::DbiModuleDescriptorBuilder(StringRef ModuleName, in DbiModuleDescriptorBuilder() argument 42 : MSF(Msf), ModuleName(std::string(ModuleName)) { in DbiModuleDescriptorBuilder() 99 uint32_t M = ModuleName.size() + 1; in calculateSerializedLength() 141 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit()
|
D | DbiModuleDescriptor.cpp | 27 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 39 DbiModuleDescriptorBuilder::DbiModuleDescriptorBuilder(StringRef ModuleName, in DbiModuleDescriptorBuilder() argument 42 : MSF(Msf), ModuleName(ModuleName) { in DbiModuleDescriptorBuilder() 100 uint32_t M = ModuleName.size() + 1; in calculateSerializedLength() 142 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit()
|
D | DbiModuleDescriptor.cpp | 27 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()
|
/external/llvm-project/clang/lib/Lex/ |
D | Pragma.cpp | 774 &ModuleName) { in LexModuleName() argument 777 if (LexModuleNameComponent(PP, Tok, NameComponent, ModuleName.empty())) in LexModuleName() 779 ModuleName.push_back(NameComponent); in LexModuleName() 793 IdentifierInfo *ModuleName = ModuleNameLoc.first; in HandlePragmaModuleBuild() local 857 TheModuleLoader.createModuleFromSource(Loc, ModuleName->getName(), in HandlePragmaModuleBuild() 1106 ModuleName; in HandlePragma() local 1107 if (LexModuleName(PP, Tok, ModuleName)) in HandlePragma() 1111 for (auto IIAndLoc : ModuleName) { in HandlePragma() 1559 ModuleName; in HandlePragma() local 1560 if (LexModuleName(PP, Tok, ModuleName)) in HandlePragma() [all …]
|
D | HeaderSearch.cpp | 145 std::string HeaderSearch::getPrebuiltModuleFileName(StringRef ModuleName, in getPrebuiltModuleFileName() argument 148 auto i(HSOpts->PrebuiltModuleFiles.find(ModuleName)); in getPrebuiltModuleFileName() 160 llvm::sys::path::append(Result, ModuleName + ".pcm"); in getPrebuiltModuleFileName() 170 StringRef ModuleName = Module->Name; in getPrebuiltImplicitModuleFileName() local 178 getCachedModuleFileNameImpl(ModuleName, ModuleMapPath, CachePath); in getPrebuiltImplicitModuleFileName() 185 std::string HeaderSearch::getCachedModuleFileName(StringRef ModuleName, in getCachedModuleFileName() argument 187 return getCachedModuleFileNameImpl(ModuleName, ModuleMapPath, in getCachedModuleFileName() 191 std::string HeaderSearch::getCachedModuleFileNameImpl(StringRef ModuleName, in getCachedModuleFileNameImpl() argument 203 llvm::sys::path::append(Result, ModuleName + ".pcm"); in getCachedModuleFileNameImpl() 227 llvm::sys::path::append(Result, ModuleName + "-" + HashStr + ".pcm"); in getCachedModuleFileNameImpl() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 1066 StringRef ModuleName, FrontendInputFile Input, in compileModuleImpl() argument 1072 llvm::TimeTraceScope TimeScope("Module Compile", ModuleName); 1098 Invocation->getLangOpts()->ModuleName = 1099 ImportingInstance.getInvocation().getLangOpts()->ModuleName; 1102 Invocation->getLangOpts()->CurrentModule = std::string(ModuleName); 1154 SourceMgr.pushModuleBuildStack(ModuleName, 1165 << ModuleName << ModuleFileName; 1183 << ModuleName; 1573 void ReadModuleName(StringRef ModuleName) override { in loadModuleFile() 1575 CI.getPreprocessor().getIdentifierInfo(ModuleName)); in loadModuleFile() [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.h | 41 DbiModuleDescriptorBuilder(StringRef ModuleName, uint32_t ModIndex, 62 StringRef getModuleName() const { return ModuleName; } in getModuleName() 91 std::string ModuleName; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.h | 41 DbiModuleDescriptorBuilder(StringRef ModuleName, uint32_t ModIndex, 62 StringRef getModuleName() const { return ModuleName; } in getModuleName() 91 std::string ModuleName; variable
|
/external/llvm-project/lldb/source/Breakpoint/ |
D | BreakpointResolverAddress.cpp | 52 success = options_dict.HasKey(GetKey(OptionNames::ModuleName)); in CreateFromStructuredData() 55 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData() 76 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName), in SerializeToStructuredData() 84 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName), in SerializeToStructuredData()
|