[libcxx-commits] [PATCH] D80690: [RISCV] Support libunwind for riscv32

kamlesh kumar via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 28 01:02:46 PDT 2020


kamleshbhalui marked an inline comment as done.
kamleshbhalui added inline comments.


================
Comment at: libunwind/src/UnwindRegistersRestore.S:1074
 
-#elif defined(__riscv) && __riscv_xlen == 64
+#elif defined(__riscv)
 
----------------
luismarques wrote:
> It might be a good idea to use instead `__riscv_xlen == 32 || __riscv_xlen == 64`, as that will correctly detect the case that riscv128 isn't handled.
Since It is  already handled  at __libunwind_config.h:130
do we really need it at other places?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80690





More information about the libcxx-commits mailing list