[all-commits] [llvm/llvm-project] c31d50: [LLDB] Fix 64 bit support for CIE and FDE handling...

Andrew Gontarek via All-commits all-commits at lists.llvm.org
Tue Sep 23 09:57:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c31d50378bdba3aab936dfc30b78911431641906
      https://github.com/llvm/llvm-project/commit/c31d50378bdba3aab936dfc30b78911431641906
  Author: Andrew Gontarek <agontarek at users.noreply.github.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M lldb/source/Symbol/DWARFCallFrameInfo.cpp
    M lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp

  Log Message:
  -----------
  [LLDB] Fix 64 bit support for CIE and FDE handling in DWARFCallFrameInfo (#158350)

- Introduced a new helper function `IsCIEMarker` to determine if a given
`cie_id` indicates a CIE (Common Information Entry) or FDE (Frame
Description Entry).
- New helper function can now correctly identify both 32-bit and 64-bit
CIE based on the DWARF specifications.
- Updated the `ParseCIE` and `GetFDEIndex` methods to utilize the new
helper function for improved clarity and correctness in identifying CIE
and FDE entries.
- Replaced direct comparisons with `UINT32_MAX` and `UINT64_MAX` with
`std::numeric_limits` for better readability.



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