[all-commits] [llvm/llvm-project] b086f7: Fix an integer trunctation issues for the DW_AT_fr...

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Sep 30 09:04:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b086f7591ce8d4f810a472554d38b4437dff6919
      https://github.com/llvm/llvm-project/commit/b086f7591ce8d4f810a472554d38b4437dff6919
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp

  Log Message:
  -----------
  Fix an integer trunctation issues for the DW_AT_frame_base DWARF location expression (#110388)

This patch allows offsets to the DW_AT_frame_base to exceed 4GB. Prior
to this, for any .debug_info.dwo offset that exceeded 4GB, we would
truncate the offset to the DW_AT_frame_base expression bytes to be 32
bit only. Changing the offset to 64 bits restores correct functionality.

No test for this as we don't want to create a .dwp file that has a
.debug_info.dwo size that is over 4GB.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list