Searched refs:CommandLine (Results 1 - 25 of 27) sorted by relevance

12

/openbsd-current/gnu/usr.bin/binutils/gdb/rdi-share/
H A Dhsys.h42 char **CommandLine ; /* Ptr to cmd line d`string held by ardi.c */ member in struct:__anon4611
H A Dhsys.c96 (*stateptr)->CommandLine=cmdline;
310 DebugPrintF(("CL_GetCmdLine: \"%s\"\n", *(stateptr->CommandLine)));
313 len = strlen(*(stateptr->CommandLine));
319 strncpy((char *) BUFFERDATA(buffhead)+24,*(stateptr->CommandLine),
/openbsd-current/gnu/llvm/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp41 if (Cmd.CommandLine.empty())
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front());
H A DExpandResponseFilesCompilationDatabase.cpp12 #include "llvm/Support/CommandLine.h"
54 Argv.reserve(Cmd.CommandLine.size());
55 for (auto &Arg : Cmd.CommandLine) {
69 // Don't assign directly, Argv aliases CommandLine.
71 Cmd.CommandLine = std::move(ExpandedArgv);
H A DTooling.cpp265 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, argument
267 if (CommandLine.empty() || InvokedAs.empty())
285 // Skip CommandLine[0].
286 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end();
294 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode);
297 CommandLine.insert(++CommandLine.begin(),
322 std::vector<std::string> CommandLine, ToolActio
321 ToolInvocation( std::vector<std::string> CommandLine, ToolAction *Action, FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument
327 ToolInvocation( std::vector<std::string> CommandLine, std::unique_ptr<FrontendAction> FAction, FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument
566 std::vector<std::string> CommandLine = CompileCommand.CommandLine; local
[all...]
H A DInterpolatingCompilationDatabase.cpp128 // Flags that should not apply to all files are stripped from CommandLine.
139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine);
140 Cmd.CommandLine.clear();
160 Cmd.CommandLine.emplace_back(OldArgs.front());
200 Cmd.CommandLine.insert(Cmd.CommandLine.end(),
232 Result.CommandLine.push_back(std::string(Flag));
234 Result.CommandLine.push_back("-x");
235 Result.CommandLine.push_back(types::getTypeName(TargetType));
241 Result.CommandLine
[all...]
H A DJSONCompilationDatabase.cpp25 #include "llvm/Support/CommandLine.h"
54 CommandLineArgumentParser(StringRef CommandLine) argument
55 : Input(CommandLine), Position(Input.begin()-1) {}
62 CommandLine.push_back(Argument);
64 return CommandLine;
132 std::vector<std::string> CommandLine; member in class:__anon1111::CommandLineArgumentParser
H A DCompilationDatabase.cpp333 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc);
337 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg))
372 const Twine &Directory, ArrayRef<std::string> CommandLine) {
375 CommandLine.begin(), CommandLine.end());
384 Result[0].CommandLine.push_back(std::string(FilePath));
371 FixedCompilationDatabase( const Twine &Directory, ArrayRef<std::string> CommandLine) argument
H A DCommonOptionsParser.cpp28 #include "llvm/Support/CommandLine.h"
79 Command.CommandLine = Adjuster(Command.CommandLine, Command.Filename);
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/
H A DCompilationDatabase.h47 std::vector<std::string> CommandLine, const Twine &Output)
49 CommandLine(std::move(CommandLine)), Output(Output.str()) {}
58 std::vector<std::string> CommandLine; member in struct:clang::tooling::CompileCommand
70 LHS.CommandLine == RHS.CommandLine && LHS.Output == RHS.Output &&
200 ArrayRef<std::string> CommandLine);
46 CompileCommand(const Twine &Directory, const Twine &Filename, std::vector<std::string> CommandLine, const Twine &Output) argument
H A DTooling.h243 /// \param CommandLine The command line arguments to clang. Note that clang
244 /// uses its binary name (CommandLine[0]) to locate its builtin headers.
252 ToolInvocation(std::vector<std::string> CommandLine,
259 /// \param CommandLine The command line arguments to clang.
264 ToolInvocation(std::vector<std::string> CommandLine, ToolAction *Action,
292 std::vector<std::string> CommandLine; member in class:clang::tooling::ToolInvocation
486 /// Changes CommandLine to contain implicit flags that would have been
491 /// be inserted after the first argument in \c CommandLine.
494 /// are already present in `CommandLine` (even if they have different settings
499 /// \param CommandLine th
[all...]
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXCompilationDatabase.cpp128 return static_cast<CompileCommand *>(CCmd)->CommandLine.size();
139 if (Arg >= Cmd->CommandLine.size())
142 return cxstring::createRef(Cmd->CommandLine[Arg].c_str());
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h84 const std::vector<std::string> &CommandLine,
92 const std::vector<std::string> &CommandLine,
H A DDependencyScanningTool.h93 getDependencyFile(const std::vector<std::string> &CommandLine, StringRef CWD,
127 getFullDependencies(const std::vector<std::string> &CommandLine,
133 const std::vector<std::string> &CommandLine, StringRef CWD,
/openbsd-current/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp104 const std::vector<std::string> &CommandLine, StringRef CWD,
108 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName);
150 auto Result = Worker.computeDependencies(CWD, Command.CommandLine, Consumer);
162 const std::vector<std::string> &CommandLine, StringRef CWD,
169 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName);
177 const std::vector<std::string> &CommandLine, StringRef CWD,
184 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName);
187 return Consumer.getFullDependenciesLegacyDriverCommand(CommandLine);
103 getDependencyFile( const std::vector<std::string> &CommandLine, StringRef CWD, std::optional<StringRef> ModuleName) argument
161 getFullDependencies( const std::vector<std::string> &CommandLine, StringRef CWD, const llvm::StringSet<> &AlreadySeen, LookupModuleOutputCallback LookupModuleOutput, std::optional<StringRef> ModuleName) argument
176 getFullDependenciesLegacyDriverCommand( const std::vector<std::string> &CommandLine, StringRef CWD, const llvm::StringSet<> &AlreadySeen, LookupModuleOutputCallback LookupModuleOutput, std::optional<StringRef> ModuleName) argument
H A DDependencyScanningWorker.cpp344 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
347 for (const std::string &Arg : CommandLine)
358 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, DiagPrinter,
390 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
399 ModifiedCommandLine = CommandLine;
413 ModifiedCommandLine ? *ModifiedCommandLine : CommandLine;
420 std::vector<const char *> FinalCCommandLine(CommandLine.size(), nullptr);
421 llvm::transform(CommandLine, FinalCCommandLine.begin(),
343 computeDependencies( StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, DependencyConsumer &Consumer, std::optional<StringRef> ModuleName) argument
389 computeDependencies( StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, DependencyConsumer &Consumer, DiagnosticConsumer &DC, std::optional<StringRef> ModuleName) argument
/openbsd-current/gnu/llvm/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp38 #include "llvm/Support/CommandLine.h"
311 std::string CommandLine(ProgramToRun);
316 errs() << ToolName << ": Failed to find program: '" << CommandLine
325 CommandLine.push_back(' ');
326 CommandLine.append(Arg);
331 << ToolName << ": Command Line: " << CommandLine << '\n'; local
345 const_cast<LPSTR>(CommandLine.c_str()),
/openbsd-current/gnu/llvm/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp19 #include "llvm/Support/CommandLine.h"
567 std::vector<const char *> CommandLine(DoubleDash + 1, argv + argc);
571 driver::Driver TheDriver(CommandLine[0], llvm::sys::getDefaultTargetTriple(),
574 TheDriver.BuildCompilation(CommandLine));
581 CommandLine[0]);
604 ArrayRef<const char *> CommandLine)
606 for (auto *C : CommandLine)
607 Command.CommandLine.push_back(C);
631 FEOpts.Inputs[0].getFile(), OutputFile, CommandLine);
759 OutputDir = getModuleCachePath(Input->CommandLine);
603 InplaceCompilationDatabase(StringRef InputFile, StringRef OutputFile, ArrayRef<const char *> CommandLine) argument
[all...]
/openbsd-current/gnu/llvm/llvm/tools/bugpoint/
H A DToolRunner.cpp15 #include "llvm/Support/CommandLine.h"
332 // Tokenize the CommandLine to the command and the args to allow
354 const std::string &CommandLine, std::string &CmdPath,
363 for (std::size_t Pos = 0u; Pos <= CommandLine.size(); ++Pos) {
364 if ('\\' == CommandLine[Pos]) {
365 if (Pos + 1 < CommandLine.size())
366 Token.push_back(CommandLine[++Pos]);
370 if (' ' == CommandLine[Pos] || CommandLine.size() == Pos) {
385 Token.push_back(CommandLine[Po
353 lexCommand(const char *Argv0, std::string &Message, const std::string &CommandLine, std::string &CmdPath, std::vector<std::string> &Args) argument
[all...]
/openbsd-current/gnu/usr.bin/clang/libLLVMSupport/
H A DMakefile.shared42 CommandLine.cpp \
H A DMakefile43 CommandLine.cpp \
/openbsd-current/gnu/llvm/lld/MachO/
H A DDriver.cpp43 #include "llvm/Support/CommandLine.h"
256 CommandLine, // Library was passed as a regular CLI argument member in class:LoadType
324 case LoadType::CommandLine:
521 addFile(rerootPath(path), LoadType::CommandLine, isLazy); member in class:LoadType
1120 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); member in class:LoadType
1124 addFile(rerootPath(arg->getValue()), LoadType::CommandLine)))
1129 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) {
1136 addFile(rerootPath(arg->getValue()), LoadType::CommandLine)))
1146 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, member in class:LoadType
1158 /*isExplicit=*/true, LoadType::CommandLine);
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp240 std::string CommandLine = Cmd.toString(); local
241 Printf("%s\n", CommandLine.c_str());
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h683 CommandLine, ///< Full canonical command line (maybe -cc1) enumerator in enum:llvm::codeview::BuildInfoRecord::BuildInfoArg
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2755 MCSection *CommandLine = getObjFileLowering().getSectionForCommandLines(); local
2756 if (!CommandLine)
2764 OutStreamer->switchSection(CommandLine);

Completed in 186 milliseconds

12