diff options
author | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:32:20 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:32:20 +0000 |
commit | 0173864d8a87d9243d304fbf91b556e20b5a32fc (patch) | |
tree | 664b5b6cf13cc718f8779b8de94d85079c52f5cf /tools/bugpoint/BugDriver.cpp | |
parent | de2e0b5e6d5aa7eccf62df17b86c31b39732bf86 (diff) | |
download | external_llvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.zip external_llvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.tar.gz external_llvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.tar.bz2 |
rename getHostTriple into getDefaultTargetTriple
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 0b59a78..6b219bf 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -96,7 +96,7 @@ Module *llvm::ParseInputFile(const std::string &Filename, Triple TheTriple(Result->getTargetTriple()); if (TheTriple.getTriple().empty()) - TheTriple.setTriple(sys::getHostTriple()); + TheTriple.setTriple(sys::getDefaultTargetTriple()); TargetTriple.setTriple(TheTriple.getTriple()); } |