[llvm] r198333 - Revert "Debug info: Add enumerators to the __apple_names accelerator table."
Adrian Prantl
aprantl at apple.com
Thu Jan 2 10:48:24 PST 2014
Author: adrian
Date: Thu Jan 2 12:48:24 2014
New Revision: 198333
URL: http://llvm.org/viewvc/llvm-project?rev=198333&view=rev
Log:
Revert "Debug info: Add enumerators to the __apple_names accelerator table."
This reverts r197927 until the discussion on llvm-commits comes to a
conclusion.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/trunk/test/DebugInfo/X86/enum-class.ll
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=198333&r1=198332&r2=198333&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Thu Jan 2 12:48:24 2014
@@ -1765,9 +1765,6 @@ void DwarfUnit::constructEnumTypeDIE(DIE
int64_t Value = Enum.getEnumValue();
addSInt(Enumerator, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata,
Value);
-
- // Add the enumerator to the __apple_names accelerator table.
- addAccelName(Name, Enumerator);
}
}
DIType DTy = resolve(CTy.getTypeDerivedFrom());
Modified: llvm/trunk/test/DebugInfo/X86/enum-class.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/enum-class.ll?rev=198333&r1=198332&r2=198333&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/enum-class.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/enum-class.ll Thu Jan 2 12:48:24 2014
@@ -1,17 +1,6 @@
; RUN: llc -O0 -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
-; Also test that the enumerators show up in the __apple_names accelerator table.
-; RUN: llc -O0 -mtriple=x86_64-apple-darwin -filetype=asm < %s -o - | FileCheck --check-prefix=ACCEL-CHECK %s
-; ACCEL-CHECK: .section __DWARF,__apple_names,regular,debug
-; ACCEL-CHECK-NOT: .section
-; ACCEL-CHECK: A1
-; ACCEL-CHECK-NOT: .section
-; ACCEL-CHECK: C1
-; ACCEL-CHECK-NOT: .section
-; ACCEL-CHECK: B1
-
-
@a = global i32 0, align 4
@b = global i64 0, align 8
@c = global i32 0, align 4
More information about the llvm-commits
mailing list