[llvm-commits] [patch] Change how we handle mandatory unwind tables
rengolin at systemcall.org
Tue May 24 02:52:36 CDT 2011
2011/5/24 Rafael Ávila de Espíndola <rafael.espindola at gmail.com>:
> New version is attached. I added a ehframe attribute. Clang sets it if
> the ABI mandates ehframes for all functions. The logic for nounwind
> remains the same.
Let me see if I got them right...
The attribute ehframes would be emitted on every such ABI function?
That would generate the tables even if nounwind is present, right?
So, ehframes is a global setting (ie. either all or none have it) and
nounwind is on a case-by-case. In this scenario, I can't see what's
the value of a function with nounwind only...
To put this into a table:
nil = implementation defined?
nounwind = ?
ehframes = always generate
ehframes + nounwuind = don't generate
More information about the llvm-commits