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

Paul Kirth via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 13:22:25 PDT 2024


ilovepi 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

Right, but Android is ELF + DWARF for everything. I'd expect llvm-libc to also be able to support other formats, like COFF + PDB, etc. 

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


More information about the libc-commits mailing list