[Lldb-commits] [PATCH] D141539: [lldb][test] Replace use of p with expression (NFC)

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 20 11:07:02 PST 2023


aprantl added inline comments.


================
Comment at: lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py:74
+        self.expect("expression/d ((int*)&first)[0]", substrs=['= 5'])
+        self.expect("expression/d ((int*)&second)[0]", substrs=['= 6'])
         self.assertEqual(first_sym.GetStartAddress().GetLoadAddress(target), 
----------------
kastiglione wrote:
> @aprantl I don't see why these `/d` are not needed though.
Oh otherwise they'd be printed in hex. Makes sense.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141539/new/

https://reviews.llvm.org/D141539



More information about the lldb-commits mailing list