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 | 94441fbad77bf451c2ca511e7c9cf54f85cf61fb (patch) | |
| tree | cf4ebf69dac1cd006c5799c725c5ec41a1000995 /llvm/tools/bugpoint | |
| parent | ec2fb226d8b84ee1090f7d7fa2e0da6232fee469 (diff) | |
| download | bcm5719-llvm-94441fbad77bf451c2ca511e7c9cf54f85cf61fb.tar.gz bcm5719-llvm-94441fbad77bf451c2ca511e7c9cf54f85cf61fb.zip | |
rename getHostTriple into getDefaultTargetTriple
llvm-svn: 143502
Diffstat (limited to 'llvm/tools/bugpoint')
| -rw-r--r-- | llvm/tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 0b59a7885f1..6b219bf0858 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/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()); } |

