[Lldb-commits] [lldb] b2307cd - [lldb][test] Skip frame-recognizer argument tests on WebAssembly (#211807)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 24 07:47:41 PDT 2026
Author: Jonas Devlieghere
Date: 2026-07-24T14:47:37Z
New Revision: b2307cd9a05cb61bc9af74777de744a92479088f
URL: https://github.com/llvm/llvm-project/commit/b2307cd9a05cb61bc9af74777de744a92479088f
DIFF: https://github.com/llvm/llvm-project/commit/b2307cd9a05cb61bc9af74777de744a92479088f.diff
LOG: [lldb][test] Skip frame-recognizer argument tests on WebAssembly (#211807)
The recognizer reads arguments through $arg1/$arg2, which resolve via
argument registers. WebAssembly has no argument registers and no ABI
plugin, and these tests build without debug info, so there is no
location to read the arguments from and they come back as zero.
Added:
Modified:
lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py b/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
index 9e3142a691c72..1f943c634df6d 100644
--- a/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
+++ b/lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
@@ -372,6 +372,7 @@ def test_frame_recognizer_target_specific(self):
substrs=["frame 0 is recognized by recognizer.MyFrameRecognizer"],
)
+ @skipIfWasm # $arg1/$arg2 need argument registers, unsupported on WebAssembly.
def test_frame_recognizer_not_only_first_instruction(self):
self.build()
exe = self.getBuildArtifact("a.out")
More information about the lldb-commits
mailing list