[all-commits] [llvm/llvm-project] fac062: ELFAsmParser: Remove non-SHF_ALLOC or non-executab...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Nov 16 20:02:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fac0622ae0a59659a5969a137a724008547be697
      https://github.com/llvm/llvm-project/commit/fac0622ae0a59659a5969a137a724008547be697
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    M llvm/test/MC/ARM/dwarf-asm-multiple-sections.s

  Log Message:
  -----------
  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




More information about the All-commits mailing list