Displaying 1 result from an estimated 1 matches for "tp33341964p33392056".
2012 Feb 23
1
[LLVMdev] Size of structs & arrays
Eli Friedman-2 wrote:
>
>
> Try llvm::Constant::getNullValue().
>
>
Thanks, that's working nicely (so far).
Eli Friedman-2 wrote:
>
>
> Yes; [0 x i32] isn't really a variable-length array, just a
> placeholder for an array of unknown size. You have to track the size
> yourself.
>
>
This is working, too, however I'm getting a segmentation