diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-18 03:35:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-18 03:35:57 +0000 |
commit | ca7409664273fed4b473127295af3af0836b3077 (patch) | |
tree | 4dec85698109cbee1fa006a2cbcc962b0ec1628b /tools/bugpoint/ToolRunner.h | |
parent | 2bd4bb0397135d2ccde8ff6f411da597d9e4ed55 (diff) |
Change bugpoint to use Triple to make runtime decisions.
- This is cleaner, and makes bugpoint match the host instead of the build
architecture.
- Patch by Sandeep Patel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.h')
-rw-r--r-- | tools/bugpoint/ToolRunner.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index 0082c4463a5..3e3d7d5e5ac 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -17,6 +17,7 @@ #ifndef BUGPOINT_TOOLRUNNER_H #define BUGPOINT_TOOLRUNNER_H +#include "llvm/ADT/Triple.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/SystemUtils.h" #include <exception> @@ -25,6 +26,7 @@ namespace llvm { extern cl::opt<bool> SaveTemps; +extern Triple TargetTriple; class CBE; class LLC; |