[libc-commits] [libc] [libc] add checksum for jmpbuf (PR #101110)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 10:50:49 PDT 2024


SchrodingerZhu wrote:

> Overall mostly looks fine, but I've left a few questions inline. The other big question I have is if there is any way to support debug instructions for these routines? For RISC-V its easy to know that there is only ELF + DWARF because that's all that's ratified or documented in the psABI (and MS hasn't released anything about COFF) . But it isn't clear to me that you could make any assumptions like that for X86_64.

In general I guess we can mess with CFI directives. See https://android.googlesource.com/platform/bionic/+/master/libc/arch-arm64/bionic/setjmp.S#194

https://github.com/llvm/llvm-project/pull/101110


More information about the libc-commits mailing list