Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp353 std::string OutputPath; in libDriverMain()
355 OutputPath = Arg->getValue(); in libDriverMain()
373 if (OutputPath.empty()) { in libDriverMain()
429 writeImportLibrary(OutputFile, OutputPath, Def->Exports, LibMachine, in libDriverMain()
432 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
498 if (OutputPath.empty()) { in libDriverMain()
500 OutputPath = getDefaultOutputPath(Members[0]); in libDriverMain()
512 computeArchiveRelativePath(OutputPath, Member.MemberName); in libDriverMain()
528 OutputPath, Members, Symtab,
532 llvm::errs() << OutputPath << "
347 std::string OutputPath; libDriverMain() local
[all...]
/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp526 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor()
527 if (OutputPath == "-") in createPreprocessor()
528 OutputPath = ""; in createPreprocessor()
530 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor()
536 /*ShowAllHeaders=*/true, /*OutputPath=*/"", in createPreprocessor()
809 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile()
811 if (OutputPath.empty()) { in createDefaultOutputFile() local
813 OutputPath = "-"; in createDefaultOutputFile()
817 OutputPath = *PathStorage; in createDefaultOutputFile()
821 return createOutputFile(OutputPath, Binar in createDefaultOutputFile()
525 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; createPreprocessor() local
833 createOutputFile(StringRef OutputPath,bool Binary,bool RemoveFileOnSignal,bool UseTemporary,bool CreateMissingDirectories) createOutputFile() argument
847 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()
/llvm-project/clang-tools-extra/clangd/
H A DSystemIncludeExtractor.cpp326 llvm::SmallString<128> OutputPath; in run() local
328 OutputPath)) { in run()
335 [&OutputPath]() { llvm::sys::fs::remove(OutputPath); }); in run()
338 Redirects[OutputIsStderr ? 2 : 1] = OutputPath.str(); in run()
351 auto BufOrError = llvm::MemoryBuffer::getFile(OutputPath); in run()
354 OutputPath, BufOrError.getError().message()); in run()
/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp926 SmallString<128> OutputPath(SavedObjectsDirectoryPath);
927 llvm::sys::path::append(OutputPath, in writeGeneratedObject()
929 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject()
930 if (sys::fs::exists(OutputPath)) in writeGeneratedObject() local
931 sys::fs::remove(OutputPath); in writeGeneratedObject()
936 auto Err = sys::fs::create_hard_link(CacheEntryPath, OutputPath); in writeGeneratedObject()
938 return std::string(OutputPath); in writeGeneratedObject()
940 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject()
942 return std::string(OutputPath); in writeGeneratedObject()
947 << "' to '" << OutputPath << "'\ in writeGeneratedObject()
[all...]
/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()
/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp116 std::string OutputPath;
199 OutputPath = "-"; in AssemblerInvocation()
329 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs()
464 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl()
465 Opts.OutputPath = "-"; in ExecuteAssemblerImpl()
467 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl()
634 if (Opts.OutputPath != "-") in LLVMErrorHandler()
635 sys::fs::remove(Opts.OutputPath); in LLVMErrorHandler()
118 std::string OutputPath; global() member
/llvm-project/llvm/unittests/TargetParser/
H A DHost.cpp421 StringRef OutputPath = OutputFile.str(); in runAndGetCommandOutput()
424 /*STDIN=*/std::nullopt, /*STDOUT=*/OutputPath, /*STDERR=*/std::nullopt}; in TEST()
430 ASSERT_NO_ERROR(fs::openFileForRead(OutputPath, FD)); in TEST()
438 ASSERT_NO_ERROR(fs::remove(OutputPath)); in TEST()
399 StringRef OutputPath = OutputFile.str(); runAndGetCommandOutput() local
/llvm-project/llvm/include/llvm/Support/
H A DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/llvm-project/clang/tools/clang-installapi/
H A DOptions.cpp122 SmallString<PATH_MAX> OutputPath; in getArgListFromJSON()
124 OutputPath = Arg->getValue(); in getArgListFromJSON()
125 if (OutputPath != "-") in getArgListFromJSON()
126 FM->makeAbsolutePath(OutputPath); in getArgListFromJSON()
127 DriverOpts.OutputPath = std::string(OutputPath);
129 if (DriverOpts.OutputPath.empty()) { in processDriverOptions()
852 Ctx.OutputLoc = DriverOpts.OutputPath; in getReexportedLibraries()
140 SmallString<PATH_MAX> OutputPath; processDriverOptions() local
H A DOptions.h70 std::string OutputPath; member
/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()
/llvm-project/clang/include/clang/Frontend/
H A DUtils.h185 StringRef OutputPath = {},
H A DCompilerInstance.h794 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
800 /// If \p OutputPath is empty, then createOutputFile will derive an output
802 /// appended. If \p OutputPath is not stdout and \p UseTemporary
804 /// renamed to \p OutputPath in the end.
806 /// \param OutputPath - If given, the path to the output file.
812 /// OutputPath in the end.
816 createOutputFileImpl(StringRef OutputPath, bool Binary,
/llvm-project/lldb/source/Target/
H A DTargetProperties.td131 def OutputPath: Property<"output-path", "FileSpec">,
/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp4077 SmallString<256> OutputPath; in RenderCharacterOptions()
4080 OutputPath = FinalOutput->getValue(); in RenderCharacterOptions()
4082 OutputPath = BaseInput; in RenderCharacterOptions()
4085 llvm::sys::path::replace_extension(OutputPath, Extension); in RenderCharacterOptions()
4086 return OutputPath; in RenderCharacterOptions()
3843 SmallString<256> OutputPath; getCXX20NamedModuleOutputPath() local
/llvm-project/clang/lib/Driver/
H A DDriver.cpp6114 SmallString<256> OutputPath = in GetNamedOutputPath()
6117 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetNamedOutputPath()
5860 SmallString<256> OutputPath = GetModuleOutputPath() local