| /freebsd-12.1/contrib/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 783 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 D | cc1as_main.cpp | 110 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 D | HeaderIncludeGen.cpp | 81 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 D | CompilerInstance.cpp | 449 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 D | TarWriter.cpp | 160 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 D | LibDriver.cpp | 165 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 D | TarWriter.h | 21 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 466 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 D | CompilerInstance.h | 718 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal, 748 createOutputFile(StringRef OutputPath, std::error_code &Error, bool Binary,
|
| H A D | Utils.h | 183 StringRef OutputPath = {},
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Writer.cpp | 181 void openFile(StringRef OutputPath);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1730 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()
|