Revert r120580.
authorDevang Patel <dpatel@apple.com>
Thu, 2 Dec 2010 00:22:29 +0000 (00:22 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 2 Dec 2010 00:22:29 +0000 (00:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120630 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCAsmInfo.cpp

index 8db12cc6d4b3ec45013d7f0a0b5067a9ccb0e50f..f45fdf5a3fb3da9d506759553951c6f788acb394 100644 (file)
@@ -67,20 +67,6 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
   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;
 }