llvm-project
44d41976 - [RISCV] Emit lpad for function with returns-twice attribute (#170520)

Commit
142 days ago
[RISCV] Emit lpad for function with returns-twice attribute (#170520) Insert the landing pad after the functions with attribute "returns-twice" as such function could return from a indirect branch (e.g. `setcontext`, `swapcontext`, `setjmp`), so that they could use a normal indirect branch which is safer than a software-guarded branch.
Author
Parents
Loading