[LLVMdev] unwind's permanent residence

Renato Golin renato.golin at linaro.org
Sat Jan 31 09:36:33 PST 2015


On 31 January 2015 at 16:39, Jonathan Roelofs <jroelofs.lists at gmail.com>
wrote:
> My worry is the scenario of throwing in one dso, then running a cleanup as
> you're unwinding through another dso. If that cleanup throws, and invokes
a
> different unwinder, there's no way for that second unwinder to know about
> the state of the first. If this were c++, we'd break the requirement that
> throwing from a destructor during exception propagation causes the app to
> terminate.

In theory, the Itanium ABI doesn't require that any implementation
cooperates with any other, but in practice, libunwinder lives in a world
where GNU is the law.

If we want to migrate one application at a time, we'll have to
interoperate. Not sure how, though...

Cheers,
Renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150131/1665091e/attachment.html>


More information about the llvm-dev mailing list