diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:21 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:21 +0000 |
commit | 7e7b6700743285c0af506ac6299ddf82ebd434b9 (patch) | |
tree | 578d2ea1868b77f3dff145df7f8f3fe73272c09e /include/llvm/MC | |
parent | 4b570baa7e867c652fa7d690585098278082fae9 (diff) |
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCTargetOptions.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/llvm/MC/MCTargetOptions.h b/include/llvm/MC/MCTargetOptions.h index a300c4f6fb00..25642379ac9f 100644 --- a/include/llvm/MC/MCTargetOptions.h +++ b/include/llvm/MC/MCTargetOptions.h @@ -11,6 +11,7 @@ #define LLVM_MC_MCTARGETOPTIONS_H #include <string> +#include <vector> namespace llvm { @@ -51,11 +52,17 @@ public: bool PreserveAsmComments : 1; int DwarfVersion; + /// getABIName - If this returns a non-empty string this represents the /// textual name of the ABI that we want the backend to use, e.g. o32, or /// aapcs-linux. StringRef getABIName() const; std::string ABIName; + + /// Additional paths to search for `.include` directives when using the + /// integrated assembler. + std::vector<std::string> IASSearchPaths; + MCTargetOptions(); }; @@ -75,7 +82,8 @@ inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) { ARE_EQUAL(ShowMCInst) && ARE_EQUAL(AsmVerbose) && ARE_EQUAL(DwarfVersion) && - ARE_EQUAL(ABIName)); + ARE_EQUAL(ABIName) && + ARE_EQUAL(IASSearchPaths)); #undef ARE_EQUAL } |