summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ToolRunner.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-18 03:35:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-18 03:35:57 +0000
commitca7409664273fed4b473127295af3af0836b3077 (patch)
tree4dec85698109cbee1fa006a2cbcc962b0ec1628b /tools/bugpoint/ToolRunner.h
parent2bd4bb0397135d2ccde8ff6f411da597d9e4ed55 (diff)
downloadllvm-ca7409664273fed4b473127295af3af0836b3077.tar.gz
llvm-ca7409664273fed4b473127295af3af0836b3077.tar.bz2
llvm-ca7409664273fed4b473127295af3af0836b3077.tar.xz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h
index 0082c4463a..3e3d7d5e5a 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;