[llvm-commits] [llvm] r120630 - /llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp

Devang Patel dpatel at apple.com
Wed Dec 1 16:22:29 PST 2010


Author: dpatel
Date: Wed Dec  1 18:22:29 2010
New Revision: 120630

URL: http://llvm.org/viewvc/llvm-project?rev=120630&view=rev
Log:
Revert r120580.

Modified:
    llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp

Modified: llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp?rev=120630&r1=120629&r2=120630&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCAsmInfo.cpp Wed Dec  1 18:22:29 2010
@@ -67,20 +67,6 @@
   SupportsDebugInformation = true;
   DwarfUsesInlineInfoSection = true;
 
-  // Disable debugging information for older targets that do not support
-  // .loc and are broken by regressions in .debug_line entries.
-  if (Triple.getOS() == Triple::Darwin) {
-    switch (Triple.getDarwinMajorNumber()) {
-    case 7:
-    case 8:
-    case 9:
-      SupportsDebugInformation = false;
-      break;
-    default:
-      break;
-    }
-  }
-
   // Exceptions handling
   ExceptionsType = ExceptionHandling::Dwarf;
 }





More information about the llvm-commits mailing list