Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCompilerInstance.cpp534 StringRef OutputPath = DepOpts.HeaderIncludeOutputFile; in createPreprocessor() local
535 if (OutputPath == "-") in createPreprocessor()
536 OutputPath = ""; in createPreprocessor()
538 /*ShowAllHeaders=*/true, OutputPath, in createPreprocessor()
807 StringRef OutputPath = getFrontendOpts().OutputFile; in createDefaultOutputFile() local
809 if (OutputPath.empty()) { in createDefaultOutputFile()
811 OutputPath = "-"; in createDefaultOutputFile()
815 OutputPath = *PathStorage; in createDefaultOutputFile()
819 return createOutputFile(OutputPath, Binary, RemoveFileOnSignal, in createDefaultOutputFile()
829 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary, in createOutputFile() argument
[all …]
H A DHeaderIncludeGen.cpp121 bool ShowAllHeaders, StringRef OutputPath, in AttachHeaderIncludeGen() argument
141 if (!OutputPath.empty()) { in AttachHeaderIncludeGen()
144 OutputPath.str(), EC, in AttachHeaderIncludeGen()
/openbsd-src/gnu/llvm/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp374 std::string OutputPath; in libDriverMain() local
376 OutputPath = Arg->getValue(); in libDriverMain()
378 OutputPath = getDefaultOutputPath(Members[0]); in libDriverMain()
389 computeArchiveRelativePath(OutputPath, Member.MemberName); in libDriverMain()
396 writeArchive(OutputPath, Members, in libDriverMain()
400 llvm::errs() << OutputPath << ": " << EI.message() << "\n"; in libDriverMain()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp933 SmallString<128> OutputPath(SavedObjectsDirectoryPath); in writeGeneratedObject() local
934 llvm::sys::path::append(OutputPath, in writeGeneratedObject()
936 OutputPath.c_str(); // Ensure the string is null terminated. in writeGeneratedObject()
937 if (sys::fs::exists(OutputPath)) in writeGeneratedObject()
938 sys::fs::remove(OutputPath); in writeGeneratedObject()
943 auto Err = sys::fs::create_hard_link(CacheEntryPath, OutputPath); in writeGeneratedObject()
945 return std::string(OutputPath.str()); in writeGeneratedObject()
947 Err = sys::fs::copy_file(CacheEntryPath, OutputPath); in writeGeneratedObject()
949 return std::string(OutputPath.str()); in writeGeneratedObject()
954 << "' to '" << OutputPath << "'\n"; in writeGeneratedObject()
[all …]
/openbsd-src/gnu/llvm/clang/tools/driver/
H A Dcc1as_main.cpp112 std::string OutputPath; member
169 OutputPath = "-"; in AssemblerInvocation()
296 Opts.OutputPath = std::string(Args.getLastArgValue(OPT_o)); in CreateFromArgs()
418 if (Opts.OutputPath.empty()) in ExecuteAssemblerImpl()
419 Opts.OutputPath = "-"; in ExecuteAssemblerImpl()
421 getOutputStream(Opts.OutputPath, Diags, IsBinary); in ExecuteAssemblerImpl()
591 if (Opts.OutputPath != "-") in ExecuteAssembler()
592 sys::fs::remove(Opts.OutputPath); in ExecuteAssembler()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DTarWriter.h20 static Expected<std::unique_ptr<TarWriter>> create(StringRef OutputPath,
/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp551 SmallString<256> OutputPath; in demangleSymbols() local
553 OutputPath); in demangleSymbols()
555 error(OutputPath, EC.message()); in demangleSymbols()
558 ToolOutputFile OutputTOF{OutputPath, OutputFD}; in demangleSymbols()
567 InputPath.str(), OutputPath.str(), {""}}; in demangleSymbols()
579 auto BufOrError = MemoryBuffer::getFile(OutputPath); in demangleSymbols()
581 error(OutputPath, BufOrError.getError().message()); in demangleSymbols()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DUtils.h183 StringRef OutputPath = {},
H A DCompilerInstance.h715 createOutputFile(StringRef OutputPath, bool Binary, bool RemoveFileOnSignal,
737 createOutputFileImpl(StringRef OutputPath, bool Binary,
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DTargetProperties.td112 def OutputPath: Property<"output-path", "FileSpec">,
/openbsd-src/gnu/llvm/clang/lib/Driver/
H A DDriver.cpp5582 SmallString<64> OutputPath; in GetModuleOutputPath() local
5585 OutputPath = FinalOutput->getValue(); in GetModuleOutputPath()
5587 OutputPath = BaseInput; in GetModuleOutputPath()
5590 llvm::sys::path::replace_extension(OutputPath, Extension); in GetModuleOutputPath()
5591 return C.addResultFile(C.getArgs().MakeArgString(OutputPath.c_str()), &JA); in GetModuleOutputPath()