Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp371 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 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()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp83 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument
103 if (!OutputPath.empty()) { in AttachHeaderIncludeGen()
106 OutputPath.str(), EC, in AttachHeaderIncludeGen()
H A DCompilerInstance.cpp528 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 Dcc1as_main.cpp111 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 DThinLTOCodeGenerator.cpp933 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 DHost.cpp407 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 DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp544 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 DUtils.h183 StringRef OutputPath = {},
H A DCompilerInstance.h713 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
735 createOutputFileImpl(StringRef OutputPath, bool Binary,
/llvm-project-15.0.7/lldb/source/Target/
H A DTargetProperties.td109 def OutputPath: Property<"output-path", "FileSpec">,
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp1481 SmallString<128> OutputPath(OutputFile); in WriteControlBlock() local
1482 PreparePathForOutput(OutputPath); in WriteControlBlock()
1483 StringRef origDir = llvm::sys::path::parent_path(OutputPath); in WriteControlBlock()