Home
last modified time | relevance | path

Searched refs:OutputPath (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp346 std::string OutputPath; in libDriverMain() local
348 OutputPath = Arg->getValue(); in libDriverMain()
366 if (OutputPath.empty()) { in libDriverMain()
395 return writeImportLibrary(Def->OutputFile, OutputPath, Def->Exports, in libDriverMain()
461 if (OutputPath.empty()) { in libDriverMain()
463 OutputPath = getDefaultOutputPath(Members[0]); in libDriverMain()
475 computeArchiveRelativePath(OutputPath, Member.MemberName); in libDriverMain()
486 OutputPath, Members, SymtabWritingMode::NormalSymtab, in libDriverMain()
490 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp527 if (OutputPath == "-") in createPreprocessor()
528 OutputPath = ""; in createPreprocessor()
814 if (OutputPath.empty()) { in createDefaultOutputFile()
816 OutputPath = "-"; in createDefaultOutputFile()
820 OutputPath = *PathStorage; in createDefaultOutputFile()
858 if (OutputPath != "-" && !llvm::sys::path::is_absolute(OutputPath)) { in createOutputFileImpl()
862 AbsPath.emplace(OutputPath); in createOutputFileImpl()
864 OutputPath = *AbsPath; in createOutputFileImpl()
871 if (OutputPath == "-") in createOutputFileImpl()
941 OSFile = OutputPath; in createOutputFileImpl()
[all …]
H A DHeaderIncludeGen.cpp140 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument
160 if (!OutputPath.empty()) { in AttachHeaderIncludeGen()
163 OutputPath.str(), EC, in AttachHeaderIncludeGen()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DTarWriter.cpp169 Expected<std::unique_ptr<TarWriter>> TarWriter::create(StringRef OutputPath, in create() argument
174 openFileForWrite(OutputPath, FD, CD_CreateAlways, OF_None)) in create()
175 return make_error<StringError>("cannot open " + OutputPath, EC); in create()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp938 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local
939 llvm::sys::path::append(OutputPath, in writeGeneratedObject()
941 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject()
942 if (sys::fs::exists(OutputPath)) in writeGeneratedObject()
943 sys::fs::remove(OutputPath); in writeGeneratedObject()
950 return std::string(OutputPath); in writeGeneratedObject()
952 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject()
954 return std::string(OutputPath); in writeGeneratedObject()
959 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject()
963 raw_fd_ostream OS(OutputPath, Err, sys::fs::OF_None); in writeGeneratedObject()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp113 std::string OutputPath; member
174 OutputPath = "-"; in AssemblerInvocation()
301 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs()
427 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl()
428 Opts.OutputPath = "-"; in ExecuteAssemblerImpl()
430 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl()
600 if (Opts.OutputPath != "-") in ExecuteAssembler()
601 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp606 SmallString<256> OutputPath; in demangleSymbols() local
608 OutputPath); in demangleSymbols()
610 error(OutputPath, EC.message()); in demangleSymbols()
613 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols()
622 InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols()
634 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols()
636 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h185 StringRef OutputPath = {},
H A DCompilerInstance.h747 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
769 createOutputFileImpl(StringRef OutputPath, bool Binary,
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp5790 SmallString<64> OutputPath; in GetModuleOutputPath() local
5793 OutputPath = FinalOutput->getValue(); in GetModuleOutputPath()
5795 OutputPath = BaseInput; in GetModuleOutputPath()
5798 llvm::sys::path::replace_extension(OutputPath, Extension); in GetModuleOutputPath()
5799 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetModuleOutputPath()
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DTargetProperties.td125 def OutputPath: Property<"output-path", "FileSpec">,