Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp783 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local
784 llvm::sys::path::append(OutputPath, Twine(count) + ".thinlto.o"); in writeGeneratedObject()
785 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject()
786 if (sys::fs::exists(OutputPath)) in writeGeneratedObject()
787 sys::fs::remove(OutputPath); in writeGeneratedObject()
794 return OutputPath.str(); in writeGeneratedObject()
796 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject()
798 return OutputPath.str(); in writeGeneratedObject()
803 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject()
807 raw_fd_ostream OS(OutputPath, Err, sys::fs::F_None); in writeGeneratedObject()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/tools/driver/
H A Dcc1as_main.cpp110 std::string OutputPath; member
148 OutputPath = "-"; in AssemblerInvocation()
257 Opts.OutputPath = Args.getLastArgValue(OPT_o); in CreateFromArgs()
359 if (Opts.OutputPath.empty()) in ExecuteAssembler()
360 Opts.OutputPath = "-"; in ExecuteAssembler()
362 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssembler()
515 if (Opts.OutputPath != "-") in ExecuteAssembler()
516 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp81 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument
101 if (!OutputPath.empty()) { in AttachHeaderIncludeGen()
104 OutputPath.str(), EC, llvm::sys::fs::F_Append | llvm::sys::fs::F_Text); in AttachHeaderIncludeGen()
H A DCompilerInstance.cpp449 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor() local
450 if (OutputPath == "-") in createPreprocessor()
451 OutputPath = ""; in createPreprocessor()
453 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor()
694 OutputPath, EC, Binary, RemoveFileOnSignal, InFile, Extension, in createOutputFile()
711 StringRef OutputPath, std::error_code &Error, bool Binary, in createOutputFile() argument
719 if (!OutputPath.empty()) { in createOutputFile()
720 OutFile = OutputPath; in createOutputFile()
739 llvm::sys::fs::status(OutputPath, Status); in createOutputFile()
742 if (!llvm::sys::fs::can_write(OutputPath)) { in createOutputFile()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DTarWriter.cpp160 Expected<std::unique_ptr<TarWriter>> TarWriter::create(StringRef OutputPath, in create() argument
165 openFileForWrite(OutputPath, FD, CD_CreateAlways, OF_None)) in create()
166 return make_error<StringError>("cannot open " + OutputPath, EC); in create()
/freebsd-12.1/contrib/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp165 std::string OutputPath = getOutputPath(&Args, Members[0]); in libDriverMain() local
167 writeArchive(OutputPath, Members, in libDriverMain()
171 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DTarWriter.h21 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp466 SmallString<256> OutputPath; in demangleSymbols() local
468 OutputPath); in demangleSymbols()
470 error(OutputPath, EC.message()); in demangleSymbols()
473 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols()
480 Optional<StringRef> Redirects[] = {InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols()
491 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols()
493 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInstance.h718 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
748 createOutputFile(StringRef OutputPath, std::error_code &Error, bool Binary,
H A DUtils.h183 StringRef OutputPath = {},
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DWriter.cpp181 void openFile(StringRef OutputPath);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp1730 SmallString<128> OutputPath(OutputFile); in WriteControlBlock() local
1732 SM.getFileManager().makeAbsolutePath(OutputPath); in WriteControlBlock()
1733 StringRef origDir = llvm::sys::path::parent_path(OutputPath); in WriteControlBlock()