Home
last modified time | relevance | path

Searched refs:SrcModule (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp151 const char *SrcModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Opts.pc); in __ubsan_handle_cfi_bad_type() local
152 if (!SrcModule) in __ubsan_handle_cfi_bad_type()
153 SrcModule = "(unknown)"; in __ubsan_handle_cfi_bad_type()
155 if (internal_strcmp(SrcModule, DstModule)) in __ubsan_handle_cfi_bad_type()
157 << SrcModule << DstModule; in __ubsan_handle_cfi_bad_type()
H A Dubsan_handlers.cpp858 const char *SrcModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Opts.pc); in handleCFIBadIcall() local
859 if (!SrcModule) in handleCFIBadIcall()
860 SrcModule = "(unknown)"; in handleCFIBadIcall()
862 if (internal_strcmp(SrcModule, DstModule)) in handleCFIBadIcall()
865 << SrcModule << DstModule; in handleCFIBadIcall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1622 std::unique_ptr<Module> SrcModule = std::move(*SrcModuleOrErr); in importFunctions() local
1623 assert(&DestModule.getContext() == &SrcModule->getContext() && in importFunctions()
1628 if (Error Err = SrcModule->materializeMetadata()) in importFunctions()
1634 for (Function &F : *SrcModule) { in importFunctions()
1641 << SrcModule->getSourceFileName() << "\n"); in importFunctions()
1656 for (GlobalVariable &GV : SrcModule->globals()) { in importFunctions()
1670 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions()
1685 auto *Fn = replaceAliasWithAliasee(SrcModule.get(), &GA); in importFunctions()
1703 UpgradeDebugInfo(*SrcModule); in importFunctions()
1709 SrcModule->setPartialSampleProfileRatio(Index); in importFunctions()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp342 auto &SrcModule = ModuleLoaderCache(argv0, FileName); in importFunctions() local
344 if (!NoVerify && verifyModule(SrcModule, &errs())) { in importFunctions()
350 Function *F = SrcModule.getFunction(FunctionName); in importFunctions()