diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-12-23 23:50:20 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-12-23 23:50:20 +0000 |
commit | b8a316bfcbaa7322e254603545e9f5dcbd445a35 (patch) | |
tree | ee3b8fa04eb145f75daa125fef28c51a7ed18337 /test/DebugInfo | |
parent | c7b0b7dc8f2424057b3a84f7b3eb2f893c24ed57 (diff) | |
download | llvm-b8a316bfcbaa7322e254603545e9f5dcbd445a35.tar.gz llvm-b8a316bfcbaa7322e254603545e9f5dcbd445a35.tar.bz2 llvm-b8a316bfcbaa7322e254603545e9f5dcbd445a35.tar.xz |
Debug info: Add enumerators to the __apple_names accelerator table.
rdar://problem/11516681.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/X86/enum-class.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/enum-class.ll b/test/DebugInfo/X86/enum-class.ll index a31e254c24..e027f9a1a1 100644 --- a/test/DebugInfo/X86/enum-class.ll +++ b/test/DebugInfo/X86/enum-class.ll @@ -1,6 +1,17 @@ ; 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 |