[all-commits] [llvm/llvm-project] 0d20f3: [lldb][test] Fix address type in ReadMemoryRanges ...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Oct 22 03:22:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d20f3fa1fee43bc50883fbc988171cc0eb5a8e3
      https://github.com/llvm/llvm-project/commit/0d20f3fa1fee43bc50883fbc988171cc0eb5a8e3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M lldb/unittests/Target/MemoryTest.cpp

  Log Message:
  -----------
  [lldb][test] Fix address type in ReadMemoryRanges test

Tests added by #163651.

Use lldb::addr_t (which is always 64-bit) for all addresses
so that we don't calculate an invalid address on 32-bit
and segfault.

As happened on Linaro's Arm 32-bit buildbot.



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