[LLVMdev] One way to support unwind on x86

Andrew Haley aph at redhat.com
Tue Mar 3 05:40:13 PST 2009


Bjarke Walling wrote:

> Another option I'm thinking about is creating a runtime that, when
> initialized, compiles the DWARF information to native code. It could
> create an Instruction Pointer lookup hash table associated with unwind
> actions.

JIT-compiling the unwinder data, yes.  Given that the unwinder data
is, basically, the source for a specialized bytecode interpreter I
can't see any reason this wouldn't work.

> Maybe libgcc/libunwind does this already?

It doesn't.

Andrew.



More information about the llvm-dev mailing list