HomePhabricator

ELFAsmParser: Remove non-SHF_ALLOC or non-executable sections' line…
Audit Requiredfac0622ae0a5

Authored by MaskRay on Mon, Nov 16, 8:02 PM.

Description

ELFAsmParser: Remove non-SHF_ALLOC or non-executable sections' line info/address ranges contribution for -g

I filed the issue https://sourceware.org/bugzilla/show_bug.cgi?id=26850 ,
which was acknowledged and fixed in GNU binutils 2.36

This patch adds the similar behavior to MC.

Reviewed By: debug-info, dblaikie

Differential Revision: https://reviews.llvm.org/D91505