summaryrefslogtreecommitdiff
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/llc.cpp')
-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...