aboutsummaryrefslogtreecommitdiff
path: root/cross-project-tests
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2022-10-12 12:11:50 +0100
committerOCHyams <orlando.hyams@sony.com>2022-10-12 12:21:56 +0100
commit251e61401925dc72ad05b889636eaea18b016940 (patch)
tree7b12acc2b0e4f2745acfd4dcf46a93cce63faa1d /cross-project-tests
parentbbf01ab7b6671850b611178394ae4f3905945baa (diff)
downloadllvm-251e61401925dc72ad05b889636eaea18b016940.zip
llvm-251e61401925dc72ad05b889636eaea18b016940.tar.gz
llvm-251e61401925dc72ad05b889636eaea18b016940.tar.bz2
[Dexter] Ignore step information in __libc_start_call_main
The test dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp was failing on a machine because __libc_start_call_main was not identified as a "frame below main" (a frame we don't want to gather information from), causing dexter to count one more step than expected in the test. Add __libc_start_call_main to the list of "frames below main". There may be a more robust way of doing this but this is a pragmatic solution we can use for now.
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
index 46505e9..703f9c4 100644
--- a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+++ b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
@@ -259,7 +259,7 @@ class LLDB(DebuggerBase):
@property
def frames_below_main(self):
- return ['__scrt_common_main_seh', '__libc_start_main']
+ return ['__scrt_common_main_seh', '__libc_start_main', '__libc_start_call_main']
def evaluate_expression(self, expression, frame_idx=0) -> ValueIR:
result = self._thread.GetFrameAtIndex(frame_idx