Displaying 2 results from an estimated 2 matches for "bb9a09b1".
2020 Sep 22
2
Creating a global variable for a struct array
Hello,
I would like to create a global variable for the following struct array, h1
dhash* h1 = new dhash[10];
typedef struct dhash{
char* filenm;
dlist* llist;
}dhash;
typedef struct dlist{
int soffst;
int eoffst;
uint8_t* dptr;
}dlist;
I also need to allocate space for:
1) the field llist in struct dhash which is a pointer to another struct dlist and
2) the field
2020 Sep 30
2
Creating a global variable for a struct array
...nt *> from the above variable h1.
Hopefully it'll be clearer when you have the real IR you want (in
textual form) in front of you.
Cheers.
Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200930/bb9a09b1/attachment.html>