[PATCH] D114385: [libunwind] Fix testing with sanitizers enabled
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 29 17:15:41 PST 2021
leonardchan added a comment.
Ok I did more digging and it looks like the issue is that my host libc doesn't have an FDE for `raise`, but it does have one for `kill` (which I don't have an explanation for). I suppose that would mean D114743 <https://reviews.llvm.org/D114743> isn't a bad alternative, but I guess this means it could also fail again for any user with a libc that doesn't happen to have unwind info for `kill` (could be a wait-and-see scenario). If we want to avoid the potential missing unwind info altogether, we could perhaps having some inline assembly that does a bad memory reference, but that might not be very portable. Thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114385/new/
https://reviews.llvm.org/D114385
More information about the llvm-commits
mailing list