[llvm-commits] [llvm] r129841 - /llvm/trunk/tools/llc/llc.cpp

Daniel Dunbar daniel at zuster.org
Tue Apr 19 17:47:19 PDT 2011


Author: ddunbar
Date: Tue Apr 19 19:47:19 2011
New Revision: 129841

URL: http://llvm.org/viewvc/llvm-project?rev=129841&view=rev
Log:
llc: Fix a refacto, .loc support didn't work before 10.6.

Modified:
    llvm/trunk/tools/llc/llc.cpp

Modified: llvm/trunk/tools/llc/llc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/llc.cpp?rev=129841&r1=129840&r2=129841&view=diff
==============================================================================
--- llvm/trunk/tools/llc/llc.cpp (original)
+++ llvm/trunk/tools/llc/llc.cpp Tue Apr 19 19:47:19 2011
@@ -281,7 +281,7 @@
 
   // 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...





More information about the llvm-commits mailing list