LLVM
20.0.0git
include
llvm
Support
LLVMDriver.h
Go to the documentation of this file.
1
//===- LLVMDriver.h ---------------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_SUPPORT_LLVMDRIVER_H
10
#define LLVM_SUPPORT_LLVMDRIVER_H
11
12
namespace
llvm
{
13
14
struct
ToolContext
{
15
const
char
*
Path
;
16
const
char
*
PrependArg
;
17
// PrependArg will be added unconditionally by the llvm-driver, but
18
// NeedsPrependArg will be false if Path is adequate to reinvoke the tool.
19
// This is useful if realpath is ever called on Path, in which case it will
20
// point to the llvm-driver executable, where PrependArg will be needed to
21
// invoke the correct tool.
22
bool
NeedsPrependArg
;
23
};
24
25
}
// namespace llvm
26
27
#endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::ToolContext
Definition:
LLVMDriver.h:14
llvm::ToolContext::NeedsPrependArg
bool NeedsPrependArg
Definition:
LLVMDriver.h:22
llvm::ToolContext::PrependArg
const char * PrependArg
Definition:
LLVMDriver.h:16
llvm::ToolContext::Path
const char * Path
Definition:
LLVMDriver.h:15
Generated on Fri Oct 11 2024 06:16:02 for LLVM by
1.9.6