[PATCH] D134691: [MC] Don't emit redundant compact unwind entries
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 09:38:53 PDT 2022
steven_wu requested changes to this revision.
steven_wu added a comment.
This revision now requires changes to proceed.
If a function do not have unwind info, you cannot throw anything across the frame. That will be a very hash behavior for any programmer who does not think about exception for all the code they use.
For example:
func call_back_throw() <--- with unwind info
func library_code() <--- no dwarf, no LSDA
func catch_site() <--- nope, cant catch anything
If you want to avoid unwind table, just have something like `-fno-unwind-tables` so they are `nounwind` in IR in the first place.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134691/new/
https://reviews.llvm.org/D134691
More information about the llvm-commits
mailing list