[Lldb-commits] [PATCH] D146297: [lldb][gnustep][PDB] Parse ObjC base classes and recognize NSObject type

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 17 07:53:59 PDT 2023


DavidSpickett added a comment.

I don't know anything about Objective C internals, perhaps you can provide some reference that talks about this?



================
Comment at: lldb/test/Shell/Expr/objc-gnustep-print-pdb.m:44
 
-// RUN: %lldb -b -o "b objc-gnustep-print-pdb.m:67" -o "run" -o "p ptr" -o "p *ptr" -- %t | FileCheck %s
+// RUN: %lldb -b -o "b objc-gnustep-print-pdb.m:72" -o "run" -o "p ptr" -o "p *ptr" -- %t | FileCheck %s
 //
----------------
Could you use label in the source so you don't have to update this line number each each time?

I forget if labels are included in the debug info. In the python tests we have this more heavyweight thing that searches for a particular comment to find the line.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146297



More information about the lldb-commits mailing list