[llvm] r174351 - Add support for testing the output of the abbrev table for the

Eric Christopher echristo at gmail.com
Mon Feb 4 23:32:01 PST 2013


Author: echristo
Date: Tue Feb  5 01:32:00 2013
New Revision: 174351

URL: http://llvm.org/viewvc/llvm-project?rev=174351&view=rev
Log:
Add support for testing the output of the abbrev table for the
skeleton CU as part of the DWARF5 split dwarf proposal.

Modified:
    llvm/trunk/test/DebugInfo/X86/fission-cu.ll

Modified: llvm/trunk/test/DebugInfo/X86/fission-cu.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/fission-cu.ll?rev=174351&r1=174350&r2=174351&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/fission-cu.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/fission-cu.ll Tue Feb  5 01:32:00 2013
@@ -17,6 +17,16 @@
 ; DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges, DW_AT_dwo_name, DW_AT_dwo_id,
 ; DW_AT_ranges_base, DW_AT_addr_base.
 
+; CHECK: .debug_abbrev contents:
+; CHECK: Abbrev table for offset: 0x00000000
+; CHECK: [1] DW_TAG_compile_unit DW_CHILDREN_no
+; CHECK: DW_AT_GNU_dwo_name      DW_FORM_strp
+; CHECK: DW_AT_GNU_dwo_id        DW_FORM_data8
+; CHECK: DW_AT_GNU_addr_base     DW_FORM_sec_offset
+; CHECK: DW_AT_low_pc    DW_FORM_addr
+; CHECK: DW_AT_stmt_list DW_FORM_sec_offset
+; CHECK: DW_AT_comp_dir  DW_FORM_strp
+
 ; CHECK: .debug_info contents:
 ; CHECK: DW_TAG_compile_unit
 ; CHECK: DW_AT_GNU_dwo_name [DW_FORM_strp] ( .debug_str[0x00000000] = "baz.dwo")





More information about the llvm-commits mailing list