mirror-llvm-project/cross-project-tests
Stephen Tozer 57414efcaa
[Dexter] Avoid incorrect state matching against frames below main (#206732)
This patch fixes an error that caused some Dexter test failures, driven
by two separate causes. The first issue is that frames below main were
appearing in the program stacktrace; while Dexter tries to filter frames
below main during the stacktrace collection step based on a pre-written
list, this list may not be comprehensive enough, as the symbol
"___lldb_unnamed_symbol_2a150" has also appeared. In order to guard
against this and future cases that might appear, this patch adds a check
to Dexter for "presentationHint: deemphasize" in the DAP response; this
is added by LLDB (and other dap-based debuggers) as a hint that the
frame is not user source, and should be a generally useful way of
avoiding evaluating frames that are not wanted.

The second issue is a mismatch between the breakpoint-setting logic and
the state-matching logic: the former allows root !where nodes to omit
the "file" field, using the script file as a default file. The state
matching logic does not perform any checking for an omitted file.
Together, this means that we may correctly set breakpoints for e.g.
"test.cpp:10", but when we go to match against frames, the !where node
may match against some other line-10 that appears below (e.g. as a
caller of) the frame at test.cpp:10. This patch copies the default_file
logic to state matching, meaning that we will only match against the
intended frame.
2026-06-30 15:57:48 +01:00
..
amdgpu [Clang][AMDGPU] Use 32-bit index for SWMMAC builtins (#129101) 2025-02-27 23:28:48 -05:00
debuginfo-tests [Dexter] Avoid incorrect state matching against frames below main (#206732) 2026-06-30 15:57:48 +01:00
dtlto [DTLTO] Do not serialize inputs that hit in the ThinLTO cache (#204104) 2026-06-26 16:03:36 +01:00
intrinsic-header-tests [Clang][RISCV] packed reduction sum intrinsics (#206441) 2026-06-30 11:51:57 +08:00
tools/llvm-objdump/ARM [llvm-objdump][ARM] Find ELF file PLT entries for arm, thumb (#130764) 2025-03-26 20:18:23 +01:00
veclib Update veclib-sincos.c test checks (NFC) (#175221) 2026-01-09 18:48:52 +00:00
CMakeLists.txt [Dexter] Require lldb-dap for Dexter and log when Dexter is disabled (#206734) 2026-06-30 15:08:10 +01:00
lit.cfg.py [Dexter] Require lldb-dap for Dexter and log when Dexter is disabled (#206734) 2026-06-30 15:08:10 +01:00
lit.site.cfg.py.in [DTLTO][Windows] Expand short 8.3 form paths in ThinLTO module IDs (#178303) 2026-02-11 21:20:25 +00:00