[all-commits] [llvm/llvm-project] 417738: [DWP][DWARF] Detect and error on debug info offset...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Fri Jul 22 10:46:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 417738d3a66cc65f3fc58ab9535c17fac1ddaff1
      https://github.com/llvm/llvm-project/commit/417738d3a66cc65f3fc58ab9535c17fac1ddaff1
  Author: Alexander Yermolovich <ayermolo at fb.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M llvm/lib/DWP/DWP.cpp

  Log Message:
  -----------
  [DWP][DWARF] Detect and error on debug info offset overflow

Right now we silently overflow uint32_t for debug_indfo sections. Added a check
and error out.

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


  Commit: a2035c566f5dd1508c16144f6439b62a049f7c8d
      https://github.com/llvm/llvm-project/commit/a2035c566f5dd1508c16144f6439b62a049f7c8d
  Author: zr33 <zr33 at fb.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M bolt/test/X86/shared-abbrev.s

  Log Message:
  -----------
  [BOLT][DWARF] Fix bolt/test/X86/shared-abbrev.s

There should not be a end of child mark before DW_AT_ranges, removed it and fixed unit offset.

Reviewed By: ayermolo

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


Compare: https://github.com/llvm/llvm-project/compare/37502e042ff0...a2035c566f5d


More information about the All-commits mailing list