================ @@ -233,6 +233,16 @@ def frames_below_main(self): def evaluate_expression(self, expression, frame_idx=0) -> ValueIR: pass + def get_pc(self, frame_idx: int = 0) -> str: + """Get the current PC in frame at frame_idx depth. + frame_idx 0 is the current function. + """ + r = self.evaluate_expression("$pc", frame_idx) ---------------- SLTozer wrote:
Does `$pc` work for all supported debuggers? https://github.com/llvm/llvm-project/pull/152719 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits