| /llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 371 std::string OutputPath; in libDriverMain() local 373 OutputPath = Arg->getValue(); in libDriverMain() 375 OutputPath = getDefaultOutputPath(Members[0]); in libDriverMain() 386 computeArchiveRelativePath(OutputPath, Member.MemberName); in libDriverMain() 393 writeArchive(OutputPath, Members, in libDriverMain() 397 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | TarWriter.cpp | 169 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()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 83 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument 103 if (!OutputPath.empty()) { in AttachHeaderIncludeGen() 106 OutputPath.str(), EC, in AttachHeaderIncludeGen()
|
| H A D | CompilerInstance.cpp | 528 if (OutputPath == "-") in createPreprocessor() 529 OutputPath = ""; in createPreprocessor() 805 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile() local 807 if (OutputPath.empty()) { in createDefaultOutputFile() 809 OutputPath = "-"; in createDefaultOutputFile() 813 OutputPath = *PathStorage; in createDefaultOutputFile() 852 if (OutputPath == "-") in createOutputFileImpl() 856 llvm::sys::fs::status(OutputPath, Status); in createOutputFileImpl() 859 if (!llvm::sys::fs::can_write(OutputPath)) in createOutputFileImpl() 918 OSFile = OutputPath; in createOutputFileImpl() [all …]
|
| /llvm-project-15.0.7/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 111 std::string OutputPath; member 160 OutputPath = "-"; in AssemblerInvocation() 277 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs() 395 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl() 396 Opts.OutputPath = "-"; in ExecuteAssemblerImpl() 398 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl() 565 if (Opts.OutputPath != "-") in ExecuteAssembler() 566 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 933 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local 934 llvm::sys::path::append(OutputPath, in writeGeneratedObject() 936 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject() 937 if (sys::fs::exists(OutputPath)) in writeGeneratedObject() 938 sys::fs::remove(OutputPath); in writeGeneratedObject() 945 return std::string(OutputPath.str()); in writeGeneratedObject() 947 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject() 949 return std::string(OutputPath.str()); in writeGeneratedObject() 954 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject() 958 raw_fd_ostream OS(OutputPath, Err, sys::fs::OF_None); in writeGeneratedObject() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Host.cpp | 407 StringRef OutputPath = OutputFile.str(); in runAndGetCommandOutput() local 410 /*STDIN=*/None, /*STDOUT=*/OutputPath, /*STDERR=*/None}; in runAndGetCommandOutput() 415 ASSERT_NO_ERROR(fs::openFileForRead(OutputPath, FD)); in runAndGetCommandOutput() 423 ASSERT_NO_ERROR(fs::remove(OutputPath)); in runAndGetCommandOutput()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | TarWriter.h | 20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 544 SmallString<256> OutputPath; in demangleSymbols() local 546 OutputPath); in demangleSymbols() 548 error(OutputPath, EC.message()); in demangleSymbols() 551 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols() 558 Optional<StringRef> Redirects[] = {InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols() 569 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols() 571 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | Utils.h | 183 StringRef OutputPath = {},
|
| H A D | CompilerInstance.h | 713 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal, 735 createOutputFileImpl(StringRef OutputPath, bool Binary,
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | TargetProperties.td | 109 def OutputPath: Property<"output-path", "FileSpec">,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1481 SmallString<128> OutputPath(OutputFile); in WriteControlBlock() local 1482 PreparePathForOutput(OutputPath); in WriteControlBlock() 1483 StringRef origDir = llvm::sys::path::parent_path(OutputPath); in WriteControlBlock()
|