aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-23 20:55:35 +0000
committerEric Christopher <echristo@gmail.com>2013-09-23 20:55:35 +0000
commitcdeaae4f75fa2716bdc749b812273ac046344091 (patch)
tree3164fc3ebd609ba4becad8332c4267d97c1bfcee /test/DebugInfo
parenta4ae405c1f6103373ca6eba47b1da9f61599bde6 (diff)
downloadexternal_llvm-cdeaae4f75fa2716bdc749b812273ac046344091.zip
external_llvm-cdeaae4f75fa2716bdc749b812273ac046344091.tar.gz
external_llvm-cdeaae4f75fa2716bdc749b812273ac046344091.tar.bz2
Handle gnu pubtypes sections:
a) Make sure we are emitting the correct section in our section labels when we begin the module. b) Make sure we are emitting the correct pubtypes section in the presence of gnu pubtypes. c) For C++ struct, union, class, and enumeration types are default external. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/X86/gnu-public-names.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/gnu-public-names.ll b/test/DebugInfo/X86/gnu-public-names.ll
index 0dd668a..54320be 100644
--- a/test/DebugInfo/X86/gnu-public-names.ll
+++ b/test/DebugInfo/X86/gnu-public-names.ll
@@ -33,9 +33,12 @@
; int global_namespace_variable = 1;
; }
-
+; ASM: .section .debug_gnu_pubnames
; ASM: .byte 32 # Kind: VARIABLE, EXTERNAL
+; ASM: .section .debug_gnu_pubtypes
+; ASM: .byte 16 # Kind: TYPE, EXTERNAL
+
; CHECK: .debug_info contents:
; CHECK: 0x00000046: DW_TAG_subprogram
; CHECK-NEXT: DW_AT_MIPS_linkage_name