summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-20 00:14:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-20 00:14:25 +0000
commit558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c (patch)
treeb091c8cac7cf9dda382e4539f65b5c1a6818fc03 /tools
parent4aaf3465f71afa4e156eb15df12095ebde1b0f6f (diff)
downloadllvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.gz
llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.bz2
llvm-558692fd0a31d4d3ae4fd09a3a02f80da2e44e5c.tar.xz
ADT/Triple: Renambe isOSX... methods to isMacOSX for consistency with the OS
triple component. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 99d43c8daf..2ff8794599 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -280,7 +280,8 @@ int main(int argc, char **argv) {
Target.setMCUseLoc(false);
// Disable .loc support for older OS X versions.
- if (TheTriple.isOSX() && TheTriple.isOSXVersionLT(10, 5))
+ if (TheTriple.isMacOSX() &&
+ TheTriple.isMacOSXVersionLT(10, 5))
Target.setMCUseLoc(false);
// Figure out where we are going to send the output...