[llvm-commits] [patch] Change how we handle mandatory unwind tables
Renato Golin
rengolin at systemcall.org
Mon May 23 12:51:26 PDT 2011
2011/5/23 Rafael Ávila de Espíndola <rafael.espindola at gmail.com>:
> Adding this to TargetData is a bit strange, but I am not sure where else
> to put it.
The first thing I thought when reading until here was to add another
function attribute...
> The prune-eh issue can be fixed by adding a new attribute, noehframe.
> With the new attribute nounwind would keep its current meaning of "no
> exception will unwind past this" and noehframe would be the more strict
> "nothing (debuggers, profilers) will try to unwind past this".
Which is what you propose here...
Doesn't that fix the whole problem without the need to add bits to TargetData?
cheers,
--renato
More information about the llvm-commits
mailing list