From: Daniel Dunbar Date: Wed, 20 Apr 2011 00:47:19 +0000 (+0000) Subject: llc: Fix a refacto, .loc support didn't work before 10.6. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ccc0dde33ee78003367cb41a05156c16429dc71;p=oota-llvm.git llc: Fix a refacto, .loc support didn't work before 10.6. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129841 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 2ff87945996..77e3ddce3af 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -281,7 +281,7 @@ int main(int argc, char **argv) { // Disable .loc support for older OS X versions. if (TheTriple.isMacOSX() && - TheTriple.isMacOSXVersionLT(10, 5)) + TheTriple.isMacOSXVersionLT(10, 6)) Target.setMCUseLoc(false); // Figure out where we are going to send the output...