summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 163868f)
raw | patch | inline | side by side (parent: 163868f)
author | Adrian Prantl <aprantl@apple.com> | |
Thu, 2 Jan 2014 18:48:24 +0000 (18:48 +0000) | ||
committer | Adrian Prantl <aprantl@apple.com> | |
Thu, 2 Jan 2014 18:48:24 +0000 (18:48 +0000) |
This reverts r197927 until the discussion on llvm-commits comes to a
conclusion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198333 91177308-0d34-0410-b5e6-96231b3b80d8
conclusion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198333 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | patch | blob | history | |
test/DebugInfo/X86/enum-class.ll | patch | blob | history |
index f9611545f8f949280fb5761dd1c2f1dac3fff427..aa04a46676f22976762326b40d8d9ed1316fbb51 100644 (file)
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());
index e027f9a1a1e9e424da483cb0e1e5f39dfada3ac3..a31e254c24c883d9d256b4f3120695625ae60fd0 100644 (file)
; 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