Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp347 std::string OutputPath; in libDriverMain()
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);
512 OutputPath, Members, SymtabWritingMode::NormalSymtab,
516 llvm::errs() << OutputPath << ": " << EI.message() << "\n";
346 std::string OutputPath; libDriverMain() local
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp525 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor()
526 if (OutputPath == "-") in createPreprocessor() local
527 OutputPath = ""; in createPreprocessor()
529 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor()
535 /*ShowAllHeaders=*/true, /*OutputPath=*/"", in createPreprocessor()
811 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile()
813 if (OutputPath.empty()) { in createDefaultOutputFile()
815 OutputPath = "-"; in createDefaultOutputFile()
819 OutputPath = *PathStorage; in createDefaultOutputFile()
823 return createOutputFile(OutputPath, Binar in createDefaultOutputFile()
812 StringRef OutputPath = getFrontendOpts().OutputFile; createDefaultOutputFile() local
834 createOutputFile(StringRef OutputPath,bool Binary,bool RemoveFileOnSignal,bool UseTemporary,bool CreateMissingDirectories) createOutputFile() argument
848 createOutputFileImpl(StringRef OutputPath,bool Binary,bool RemoveFileOnSignal,bool UseTemporary,bool CreateMissingDirectories) createOutputFileImpl() argument
[all...]
H A DHeaderIncludeGen.cpp140 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument
160 if (!OutputPath.empty()) { in AttachHeaderIncludeGen()
163 OutputPath.str(), EC, in AttachHeaderIncludeGen()
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp934 SmallString<128> OutputPath(SavedObjectsDirectoryPath);
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() local
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 << "'\ in writeGeneratedObject()
[all...]
/freebsd-src/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp120 std::string OutputPath;
196 OutputPath = "-";
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 cc1as_main()
625 sys::fs::remove(Opts.OutputPath); in cc1as_main()
113 std::string OutputPath; global() member
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp578 SmallString<256> OutputPath; in removeUnmappedInputs()
580 OutputPath); in removeUnmappedInputs()
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() local
608 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h185 StringRef OutputPath = {},
H A DCompilerInstance.h789 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
795 /// If \p OutputPath is empty, then createOutputFile will derive an output
797 /// appended. If \p OutputPath is not stdout and \p UseTemporary in setOutputStream()
799 /// renamed to \p OutputPath in the end. in setOutputStream()
801 /// \param OutputPath - If given, the path to the output file. in takeOutputStream()
807 /// OutputPath in the end.
811 createOutputFileImpl(StringRef OutputPath, bool Binary,
/freebsd-src/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp5872 SmallString<256> OutputPath = in GetNamedOutputPath()
5875 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetNamedOutputPath()
5790 SmallString<64> OutputPath; GetModuleOutputPath() local
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DTargetProperties.td125 def OutputPath: Property<"output-path", "FileSpec">,