Re: sparse-llvm results from trying to compile a largish program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13 March 2017 at 19:34, Dibyendu Majumdar <mobile@xxxxxxxxxxxxxxx> wrote:
> I tried to compile a Lua implementation using sparse-llvm. This
> particular implementation is called 'minilua' as it is a cut down
> version of Lua 5.1.5 created by Mike Pall for the LuaJIT project.
>
> I had to change all static initializations of course as these are
> unsupported in sparse-llvm. I also had to add support for casting
> floating point values to integer type in 'op_cast' implementation.
>
> sparse-llvm managed to consume the program after these changes but
> there were many LLVM errors reported, which indicates that the
> generated code is incorrect.
>
> I have saved the results from this exercise here:
>
> https://github.com/dibyendumajumdar/dmr_c/tree/master/tests/minilua
>
> Hopefully this will help in analysing the errors and deciding how to fix them.
>

I have fixed a bunch of issues in my repository - and the updated
error list now is much reduced! Please see the link above for the
remaining errors and the generated code.

Thanks and Regards
Dibyendu
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux