[all-commits] [llvm/llvm-project] a39b19: Make DWARFUnit use the dwo_id from the DWARF5 CU h...

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Tue Jan 5 16:45:44 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a39b19821b6b8c6b4ae853f6b6a88128275ea2c7
      https://github.com/llvm/llvm-project/commit/a39b19821b6b8c6b4ae853f6b6a88128275ea2c7
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
    A lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s

  Log Message:
  -----------
  Make DWARFUnit use the dwo_id from the DWARF5 CU header.

In split DWARF v5 files, the DWO id is no longer in the DW_AT_GNU_dwo_id
attribute. It's in the CU header instead. This change makes lldb look in
both places.

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




More information about the All-commits mailing list