[all-commits] [llvm/llvm-project] 6f635f: [DWARF] Check that all fields of a Unit Header are...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Mon Dec 23 18:39:21 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f635f90929da9545dd696071a829a1a42f84b30
      https://github.com/llvm/llvm-project/commit/6f635f90929da9545dd696071a829a1a42f84b30
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
    M llvm/test/DebugInfo/X86/dwarfdump-rnglists.s
    A llvm/test/DebugInfo/X86/invalid-unit-header.s

  Log Message:
  -----------
  [DWARF] Check that all fields of a Unit Header are read.

Tests "dwarfdump-rnglists-dwarf64.s" and "dwarfdump-rnglists.s" were
malformed because they had missing required DWO ID fields in split
compilation unit headers. The patch fixes the tests and checks
the reading of a unit header more thoroughly.

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




More information about the All-commits mailing list