Displaying 2 results from an estimated 2 matches for "map_list".
Did you mean:
cap_list
2019 Feb 27
2
lld-link crash when linking intrinsics lib
...tation, so we have our own intrinsics lib. It is weird that if I don't use the llvm-lib but directly "lld-link /NODEFAULTLIB /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-&g...
2019 Feb 28
4
lld-link crash when linking intrinsics lib
...but directly “lld-link /NODEFAULTLIB
>> /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_DRI...