[LLVMdev] exception handling broken on x86-64?

Anton Korobeynikov asl at math.spbu.ru
Sat Feb 9 14:28:00 PST 2008


Hello, Thomas

> The problem apparently is the catch part.
Catching is done by gcc unwinding runtime. Which is, in your case
(--disable-shared), compiled by llvm and thus is definitely broken. What
if you link the llvm-generated .S file with native g++ ?

> writes data in section ".eh_frame", which sounds suspiciously like
> exception handling info, which is not written by llvm. Is this expected
> or is exception handling completely unimplemented on Linux/x86-64?
Well, it's "expected, because unimplemented" :). The contents of
".eh_frame" section (aka EH common frame information) is among the
missed stuff, I talked about.

--
WBR, Anton Korobeynikov 



More information about the llvm-dev mailing list