[llvm-commits] [llvm-gcc-4.2] r100149 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Apr 2 00:19:07 PDT 2010


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.

Ciao,

Duncan.



More information about the llvm-commits mailing list