Debug information in compiler explorer

1.1k Views Asked by At

What is the 'debug section' in compiler explorer?

.Letext0:
        .section        .debug_info,"",@progbits
.Ldebug_info0:
        .long   0x5d
        .value  0x4
        .long   .Ldebug_abbrev0
        .byte   0x8
        .uleb128 0x1
        .long   .LASF0
        .byte   0xc
        .long   .LASF1
        .long   .LASF2
        .quad   .Ltext0
        .quad   .Letext0-.Ltext0
        .long   .Ldebug_line0
        .uleb128 0x2

Is this something internal for compiler explorer to use, or what does this show exactly? I know I can get rid of this by filtering out directives and unused labels, but what is this section?

Here is an example: https://godbolt.org/z/oozxKj.

0

There are 0 best solutions below