[all-commits] [llvm/llvm-project] 85b49e: [DWARF5]: Added support for DW_MACRO_import form i...

Sourabh Singh Tomar via All-commits all-commits at lists.llvm.org
Tue Apr 14 11:22:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85b49ecb78f1de685e553d00aa3c661e4505afc0
      https://github.com/llvm/llvm-project/commit/85b49ecb78f1de685e553d00aa3c661e4505afc0
  Author: Sourabh Singh Tomar <SourabhSingh.Tomar at amd.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
    M llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
    M llvm/test/DebugInfo/X86/debug-macro-v5.s

  Log Message:
  -----------
  [DWARF5]: Added support for DW_MACRO_import form in llvm-dwarfdump

GCC emits this new form along with others forms(supported in llvm-dwardump)
and since it's support was missing in llvm-dwarfdump, it was not
able to correctly dump the content a debug_macro section for GCC
generated binaries.

This patch extends llvm-dwarfdump to support this form,
now GCC generated debug_macro section can be correctly dumped
using llvm-dwarfdump.

Reviewed By: dblaikie

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




More information about the All-commits mailing list