On Thu, Mar 2, 2017 at 7:02 PM, Dibyendu Majumdar <mobile@xxxxxxxxxxxxxxx> wrote: >> In fact LLVMBuildStore() return a LLVMValueRef. >> Could this be the 'void' we seen? >> > > It returns a Value that is a store instruction, or at least that's the > way I interpret this and so yes, I think the type of this was void. I failed to find doc about it. But anwyay, overwritting the target->priv can't be correct. > BTW removing the line makes progress, but it fails at the add > instruction later. Are there other issues like this you can spot? I am > a bit lost here I am afraid. No, not like this. What I saw was just the result of looking at your example and trying to understand what's happening. Luc -- 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