/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 347 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 D | CompilerInstance.cpp | 525 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 D | ThinLTOCodeGenerator.cpp | 934 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 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/clang/tools/driver/ |
H A D | cc1as_main.cpp | 120 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 D | TarWriter.h | 20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CodeCoverage.cpp | 578 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 D | CompilerInstance.h | 789 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal, 811 createOutputFileImpl(StringRef OutputPath, bool Binary,
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | TargetProperties.td | 125 def OutputPath: Property<"output-path", "FileSpec">,
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Clang.cpp | 3919 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 D | Driver.cpp | 5872 SmallString<256> OutputPath = in GetModuleOutputPath() local 5875 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetModuleOutputPath()
|