search for: snp_instanc

Displaying 2 results from an estimated 2 matches for "snp_instanc".

Did you mean: snp_instance
2019 Feb 27
2
lld-link crash when linking intrinsics lib
...LTLIB /ENTRY:main main.obj intrinsics.obj", the below example can pass link. Please advise what's wrong in this example. $ cat main.c typedef struct { struct MAP_LIST { unsigned long long VirtualAddress; void *MapCookie; } MapList[100]; } SNP_DRIVER; SNP_DRIVER snp_instance; int main() { SNP_DRIVER *Snp; Snp = &snp_instance; for (int Index = 0; Index < 100; Index++) { Snp->MapList[Index].VirtualAddress = 0; Snp->MapList[Index].MapCookie = 0; } return 0; } $ cat intrinsics.c void * memset (void *dest, int ch, size_t count) { vol...
2019 Feb 28
4
lld-link crash when linking intrinsics lib
...t;> $ cat main.c >> >> typedef struct { >> >> struct MAP_LIST { >> >> unsigned long long VirtualAddress; >> >> void *MapCookie; >> >> } MapList[100]; >> >> } SNP_DRIVER; >> >> SNP_DRIVER snp_instance; >> >> int main() >> >> { >> >> SNP_DRIVER *Snp; >> >> Snp = &snp_instance; >> >> for (int Index = 0; Index < 100; Index++) { >> >> Snp->MapList[Index].VirtualAddress = 0; >> >> Snp->Map...