[all-commits] [llvm/llvm-project] 36c2a6: [lldb][test] Make TestFindRangesInMemory.py more r...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Wed Aug 13 14:16:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36c2a6696853020ffc0072566b1f5e77efe96d0c
https://github.com/llvm/llvm-project/commit/36c2a6696853020ffc0072566b1f5e77efe96d0c
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2025-08-13 (Wed, 13 Aug 2025)
Changed paths:
M lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
Log Message:
-----------
[lldb][test] Make TestFindRangesInMemory.py more robust (#152817)
`GetHeapRanges()` could return two overlapping ranges because it did not
check whether `heap_pointer1` lies within the range returned for
`heap_pointer2`. This could result in a test failure in
`test_find_ranges_in_memory_two_matches` when
`process.FindRangesInMemory()` returned 3 instead of 2.
The patch ensures that `GetHeapRanges()` returns either two
non-overlapping ranges or one range covering both heap pointers.
The issue was probably introduced in #111951
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