Skip to content

[lldb] Fix failing TestFind(Ranges)InMemory.py tests. #96511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

mbucko
Copy link
Contributor

@mbucko mbucko commented Jun 24, 2024

This is to unblock #95007. Will investigate why the assertion is failing on some arch.

@mbucko mbucko requested a review from JDevlieghere as a code owner June 24, 2024 16:18
@llvmbot llvmbot added the lldb label Jun 24, 2024
@llvmbot
Copy link
Member

llvmbot commented Jun 24, 2024

@llvm/pr-subscribers-lldb

Author: Miro Bucko (mbucko)

Changes

Tests added in #95007.


Full diff: https://github.com/llvm/llvm-project/pull/96511.diff

1 Files Affected:

  • (modified) lldb/test/API/python_api/find_in_memory/address_ranges_helper.py (-1)
diff --git a/lldb/test/API/python_api/find_in_memory/address_ranges_helper.py b/lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
index 0544100f97b29..2c11fba80766f 100644
--- a/lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
+++ b/lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
@@ -35,7 +35,6 @@ def GetRangeFromAddrValue(test_base, addr):
     )
 
     test_base.assertTrue(region.IsReadable())
-    test_base.assertFalse(region.IsExecutable())
 
     address_start = lldb.SBAddress(region.GetRegionBase(), test_base.target)
     stack_size = region.GetRegionEnd() - region.GetRegionBase()

Copy link
Member

@JDevlieghere JDevlieghere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is to unblock the bots? Is the test actually incorrect or is this a temporary fix while you investigate? Would be nice to mention that in the commit message.

@JDevlieghere JDevlieghere merged commit 33a9c57 into llvm:main Jun 24, 2024
6 of 7 checks passed
@mbucko mbucko deleted the fix_find_in_memory branch June 24, 2024 18:39
chelcassanova added a commit to chelcassanova/llvm-project that referenced this pull request Jun 24, 2024
…6511)"

This reverts commit 33a9c57. Alongside
10bd5ad this is being reverted as these commits are blocking the macOS
buildbots: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6375/
AlexisPerry pushed a commit to llvm-project-tlp/llvm-project that referenced this pull request Jul 9, 2024
This is to unblock llvm#95007. Will investigate why the assertion is failing
on some arch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants