topperc wrote:

How is unwinding handled? The software shadow stack documentation says this

> Special unwind information is required on functions that are compiled with 
> ShadowCallStack and that may be unwound, i.e. functions compiled with 
> -fexceptions (which is the default in C++). Some unwinders (such as the 
> libgcc 4.9 unwinder) do not understand this unwind info and will segfault 
> when encountering it. LLVM libunwind processes this unwind info correctly, 
> however. This means that if exceptions are used together with 
> ShadowCallStack, the program must use a compatible unwinder.

This patch skips the emission of the unwind info.

https://github.com/llvm/llvm-project/pull/68075
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to