<div dir="ltr"><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(35,38,41)"><font face="arial, sans-serif" style="">An example of the subject would be storing a symbol (e.g. a function pointer) inside the array next to, let's say, integers. This would allow the linker to place the right address of the symbols, which we do not know at optimization-time, in the `i8` array.</font></p><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(35,38,41)"><font face="arial, sans-serif">How can I store any LLVM Value, whichever it's type is (as long as it's sized), inside an `</font><span style="color:rgb(34,34,34)">[<Sum of sizes> x i8]`</span><span style="font-family:arial,sans-serif"> array ? This, storing Values of any type inside an `</span><span style="color:rgb(34,34,34)">[N x i8]`</span><span style="font-family:arial,sans-serif"> array, would take place in a LLVM pass. I am aware that it will require to change every use of these values by a pointer cast and a load; this isn't an issue.</span></p><p style="margin-top:0px;margin-right:0px;margin-left:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(35,38,41)"><span style="font-family:arial,sans-serif">Thanks.</span></p></div>