[libcxx-commits] [PATCH] D136264: [libunwind][RISCV] Support reading of VLENB CSR register

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 5 12:29:44 PST 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Looks great!



================
Comment at: libunwind/test/unwind_scalable_vectors.pass.cpp:32
+          "# .cfi_def_cfa_expression sp + vlenb\n"
+          ".cfi_escape 0x0f, 0x07, 0x72, 0x00, 0x92, 0xa2, 0x38, 0x00, 0x22\n"
+          "call stepper\n"
----------------
MaskRay wrote:
> This is: DW_OP_breg 0 DW_OP_bregx 0x3822 0 DW_OP_plus.
> 
> Why is 0x3822 used?
> 
> 
Ah, sorry, it's DW_OP_breg2 0 DW_OP_bregx 0x1C22 0 DW_OP_plus. This is correct.


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

https://reviews.llvm.org/D136264



More information about the libcxx-commits mailing list