[llvm-commits] [llvm-gcc-4.2] r100149 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Bill Wendling
wendling at apple.com
Tue Apr 13 14:03:37 PDT 2010
On Apr 2, 2010, at 12:19 AM, Duncan Sands wrote:
> Hi Bill,
>
>> Set the proper linkage for the ".llvm.eh.catch.all.value" variable.
>
> while you are there, maybe you can fix the problem that this variable breaks
> LTO with multi-language programs. For example, if I compile some C++ then
> .llvm.eh.catch.all.value is set to null; with Ada it is to set some different
> Ada value. If I link the bitcode for these two together than the result won't
> work, either because the Ada value will be used for the C++, or because the
> C++ value will be used with the Ada. This variable should really be some kind
> of map from the personality function to the catch-all.
>
Hi Duncan,
That's a longer-term goal of mine. Right now, it's dangerous to mix Ada, C++, etc. methods which could throw exceptions, because if they're inlined then they won't use the correct personality functions anyway.
But there is a bug in here...It's keeping this weak external around. I need to mark it as "private" or something...
-bw
More information about the llvm-commits
mailing list