[llvm] r181802 - Add bitcast to store of personality function.

Kai Nacke kai.nacke at redstar.de
Fri May 17 07:48:14 PDT 2013


On 16.05.2013 02:44, David Blaikie wrote:
>
>
>
> On Tue, May 14, 2013 at 9:30 AM, Kai Nacke <kai.nacke at redstar.de
> <mailto:kai.nacke at redstar.de>> wrote:
>
>     Author: redstar
>     Date: Tue May 14 11:30:51 2013
>     New Revision: 181802
>
>     URL: http://llvm.org/viewvc/llvm-project?rev=181802&view=rev
>     Log:
>     Add bitcast to store of personality function.
>
>     The personality function is user defined and may have an arbitrary
>     result type.
>     The code assumes always i8*. This results in an assertion failure if
>     a different
>     type is used. A bitcast to i8* is added to prevent this failure.
>
>
> Any chance of a test case?

Well... I found this because I wanted to know if I can use SjLh 
exception handling on Windows 32. I got the assertion failure, fixed it 
and then looked for a backend which uses this code. In short, I am not 
really familiar with ARM code.
On the other hand it is really simple to trigger the failure. I will 
look through the existing test cases. Maybe I can modify an existing test.

Regards
Kai




More information about the llvm-commits mailing list