| /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 353 std::string OutputPath; in libDriverMain() local 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, in libDriverMain() 532 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 522 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor() local 523 if (OutputPath == "-") in createPreprocessor() 524 OutputPath = ""; in createPreprocessor() 526 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor() 808 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile() local 810 if (OutputPath.empty()) { in createDefaultOutputFile() 812 OutputPath = "-"; in createDefaultOutputFile() 816 OutputPath = *PathStorage; in createDefaultOutputFile() 820 return createOutputFile(OutputPath, Binary, RemoveFileOnSignal, in createDefaultOutputFile() 830 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary, in createOutputFile() argument [all …]
|
| H A D | HeaderIncludeGen.cpp | 183 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument 203 if (!OutputPath.empty()) { in AttachHeaderIncludeGen() 206 OutputPath.str(), EC, in AttachHeaderIncludeGen()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 923 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local 924 llvm::sys::path::append(OutputPath, in writeGeneratedObject() 926 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject() 927 if (sys::fs::exists(OutputPath)) in writeGeneratedObject() 928 sys::fs::remove(OutputPath); in writeGeneratedObject() 933 auto Err = sys::fs::create_hard_link(CacheEntryPath, OutputPath); in writeGeneratedObject() 935 return std::string(OutputPath); in writeGeneratedObject() 937 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject() 939 return std::string(OutputPath); in writeGeneratedObject() 944 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject() [all …]
|
| /freebsd/contrib/llvm-project/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 117 std::string OutputPath; member 200 OutputPath = "-"; in AssemblerInvocation() 330 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs() 465 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl() 466 Opts.OutputPath = "-"; in ExecuteAssemblerImpl() 468 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl() 635 if (Opts.OutputPath != "-") in ExecuteAssembler() 636 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TarWriter.h | 22 create(StringRef OutputPath, StringRef BaseDir);
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 580 SmallString<256> OutputPath; in demangleSymbols() local 582 OutputPath); in demangleSymbols() 584 error(OutputPath, EC.message()); in demangleSymbols() 587 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols() 595 InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols() 607 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols() 609 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 765 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal, 787 createOutputFileImpl(StringRef OutputPath, bool Binary,
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | TargetProperties.td | 131 def OutputPath: Property<"output-path", "FileSpec">,
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 3893 SmallString<256> OutputPath; in getCXX20NamedModuleOutputPath() local 3896 OutputPath = FinalOutput->getValue(); in getCXX20NamedModuleOutputPath() 3898 OutputPath = BaseInput; in getCXX20NamedModuleOutputPath() 3901 llvm::sys::path::replace_extension(OutputPath, Extension); in getCXX20NamedModuleOutputPath() 3902 return OutputPath; in getCXX20NamedModuleOutputPath()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Driver.cpp | 6215 SmallString<256> OutputPath = in GetModuleOutputPath() local 6218 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetModuleOutputPath()
|