[lld] r350051 - [LLD][ELF] - Cleanup gdb-index-dwarf5-low-high.s. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 24 02:18:07 PST 2018


Author: grimar
Date: Mon Dec 24 02:18:07 2018
New Revision: 350051

URL: http://llvm.org/viewvc/llvm-project?rev=350051&view=rev
Log:
[LLD][ELF] - Cleanup gdb-index-dwarf5-low-high.s. NFC.

Remove tabs and .debug_macinfo sections.

Modified:
    lld/trunk/test/ELF/gdb-index-dwarf5-low-high.s

Modified: lld/trunk/test/ELF/gdb-index-dwarf5-low-high.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gdb-index-dwarf5-low-high.s?rev=350051&r1=350050&r2=350051&view=diff
==============================================================================
--- lld/trunk/test/ELF/gdb-index-dwarf5-low-high.s (original)
+++ lld/trunk/test/ELF/gdb-index-dwarf5-low-high.s Mon Dec 24 02:18:07 2018
@@ -6,45 +6,44 @@
 # CHECK:       Address area offset = 0x28, has 1 entries:
 # CHECK-NEXT:    Low/High address = [0x201000, 0x201001) (Size: 0x1), CU id = 0
 
-	.text
-	.globl main
-main:                                   # @main
+  .text
+  .globl main
+main:                            # @main
 .Lfunc_begin0:
-	retq
+  retq
 .Lfunc_end0:
-	.section	.debug_abbrev,"", at progbits
-	.byte	1                       # Abbreviation Code
-	.byte	17                      # DW_TAG_compile_unit
-	.byte	0                       # DW_CHILDREN_no
-	.byte	115                     # DW_AT_addr_base
-	.byte	23                      # DW_FORM_sec_offset
-	.byte	17                      # DW_AT_low_pc
-	.byte	27                      # DW_FORM_addrx
-	.byte	18                      # DW_AT_high_pc
-	.byte	6                       # DW_FORM_data4
-	.byte	0                       # EOM(1)
-	.byte	0                       # EOM(2)
-	.byte	0                       # EOM(3)
-	.section	.debug_info,"", at progbits
+  .section  .debug_abbrev,"", at progbits
+  .byte  1                       # Abbreviation Code
+  .byte  17                      # DW_TAG_compile_unit
+  .byte  0                       # DW_CHILDREN_no
+  .byte  115                     # DW_AT_addr_base
+  .byte  23                      # DW_FORM_sec_offset
+  .byte  17                      # DW_AT_low_pc
+  .byte  27                      # DW_FORM_addrx
+  .byte  18                      # DW_AT_high_pc
+  .byte  6                       # DW_FORM_data4
+  .byte  0                       # EOM(1)
+  .byte  0                       # EOM(2)
+  .byte  0                       # EOM(3)
+  
+  .section  .debug_info,"", at progbits
 .Lcu_begin0:
-	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
+  .long  .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
 .Ldebug_info_start0:
-	.short	5                       # DWARF version number
-	.byte	1                       # DWARF Unit Type
-	.byte	8                       # Address Size (in bytes)
-	.long	.debug_abbrev           # Offset Into Abbrev. Section
-	.byte	1                       # Abbrev [1] 0xc:0x2b DW_TAG_compile_unit
-	.long	.Laddr_table_base0      # DW_AT_addr_base
-	.byte	0                       # DW_AT_low_pc
-	.long	.Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
+  .short  5                      # DWARF version number
+  .byte  1                       # DWARF Unit Type
+  .byte  8                       # Address Size (in bytes)
+  .long  .debug_abbrev           # Offset Into Abbrev. Section
+  .byte  1                       # Abbrev [1] 0xc:0x2b DW_TAG_compile_unit
+  .long  .Laddr_table_base0      # DW_AT_addr_base
+  .byte  0                       # DW_AT_low_pc
+  .long  .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
 .Ldebug_info_end0:
-	.section	.debug_macinfo,"", at progbits
-	.byte	0                       # End Of Macro List Mark
-	.section	.debug_addr,"", at progbits
-	.long	12
-	.short	5
-	.byte	8
-	.byte	0
-.Laddr_table_base0:
-	.quad	.Lfunc_begin0
 
+  .section  .debug_addr,"", at progbits
+  .long  12
+  .short  5
+  .byte  8
+  .byte  0
+.Laddr_table_base0:
+  .quad  .Lfunc_begin0




More information about the llvm-commits mailing list