[Lldb-commits] [PATCH] D145940: [lldb] Add test for unavailable registers
Jordan Rupprecht via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 21 12:17:51 PDT 2023
rupprecht accepted this revision.
rupprecht added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lldb/test/API/commands/register/register/TestRegistersUnavailable.py:43-53
+ self.expect("register read --all", patterns=[
+ "(?sm)^general purpose registers:\n"
+ "^\s+rdx = 0x5555555555555555\n"
+ ".*"
+ "^3 registers were unavailable.\n"
+ "\n"
+ "^supplementary registers:\n"
----------------
optional: IIUC, `patterns` takes a list of patterns which are checked in order, so you could remove extraneous regexes like this one and pass a list instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145940/new/
https://reviews.llvm.org/D145940
More information about the lldb-commits
mailing list