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/llc/llc.cpp | |
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/llc/llc.cpp')
-rw-r--r-- | llvm/tools/llc/llc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index be6afec20a0..1694e01cdfc 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -261,7 +261,7 @@ int main(int argc, char **argv) { Triple TheTriple(mod.getTargetTriple()); if (TheTriple.getTriple().empty()) - TheTriple.setTriple(sys::getHostTriple()); + TheTriple.setTriple(sys::getDefaultTargetTriple()); // Allocate target machine. First, check whether the user has explicitly // specified an architecture to compile for. If so we have to look it up by |