Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp347 std::string OutputPath; in libDriverMain() local
349 OutputPath = Arg->getValue(); in libDriverMain()
367 if (OutputPath.empty()) { in libDriverMain()
422 return writeImportLibrary(OutputFile, OutputPath, Def->Exports, LibMachine, in libDriverMain()
487 if (OutputPath.empty()) { in libDriverMain()
489 OutputPath = getDefaultOutputPath(Members[0]); in libDriverMain()
501 computeArchiveRelativePath(OutputPath, Member.MemberName); in libDriverMain()
512 OutputPath, Members, SymtabWritingMode::NormalSymtab, in libDriverMain()
516 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp525 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor() local
526 if (OutputPath == "-") in createPreprocessor()
527 OutputPath = ""; in createPreprocessor()
529 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor()
811 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile() local
813 if (OutputPath.empty()) { in createDefaultOutputFile()
815 OutputPath = "-"; in createDefaultOutputFile()
819 OutputPath = *PathStorage; in createDefaultOutputFile()
823 return createOutputFile(OutputPath, Binary, RemoveFileOnSignal, in createDefaultOutputFile()
833 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary, in createOutputFile() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp934 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local
935 llvm::sys::path::append(OutputPath, in writeGeneratedObject()
937 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject()
938 if (sys::fs::exists(OutputPath)) in writeGeneratedObject()
939 sys::fs::remove(OutputPath); in writeGeneratedObject()
944 auto Err = sys::fs::create_hard_link(CacheEntryPath, OutputPath); in writeGeneratedObject()
946 return std::string(OutputPath); in writeGeneratedObject()
948 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject()
950 return std::string(OutputPath); in writeGeneratedObject()
955 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject()
[all …]
/freebsd/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/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp120 std::string OutputPath; member
196 OutputPath = "-"; in AssemblerInvocation()
326 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs()
457 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl()
458 Opts.OutputPath = "-"; in ExecuteAssemblerImpl()
460 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl()
624 if (Opts.OutputPath != "-") in ExecuteAssembler()
625 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp578 SmallString<256> OutputPath; in demangleSymbols() local
580 OutputPath); in demangleSymbols()
582 error(OutputPath, EC.message()); in demangleSymbols()
585 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols()
594 InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols()
606 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols()
608 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h789 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
811 createOutputFileImpl(StringRef OutputPath, bool Binary,
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DTargetProperties.td125 def OutputPath: Property<"output-path", "FileSpec">,
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp3919 SmallString<256> OutputPath; in getCXX20NamedModuleOutputPath() local
3922 OutputPath = FinalOutput->getValue(); in getCXX20NamedModuleOutputPath()
3924 OutputPath = BaseInput; in getCXX20NamedModuleOutputPath()
3927 llvm::sys::path::replace_extension(OutputPath, Extension); in getCXX20NamedModuleOutputPath()
3928 return OutputPath; in getCXX20NamedModuleOutputPath()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp5872 SmallString<256> OutputPath = in GetModuleOutputPath() local
5875 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetModuleOutputPath()