Displaying 2 results from an estimated 2 matches for "__imp_getprocessheap".
2012 Jul 27
3
[LLVMdev] Roundtrip clang -> llc -> clang fails
...|
HEAP_ZERO_MEMORY, 16*1024*1014*1024);
return p;
}
If I execute the following commands
clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c
llc -filetype=asm exc_alloc.ll
clang -c exc_alloc.s
then I get the error messages
exc_alloc.s:11:31: error: invalid variant '0'
callq *__imp_GetProcessHeap at 0(%rip)
^
exc_alloc.s:16:27: error: invalid variant '20'
callq *__imp_HeapAlloc at 20(%rip)
Do I miss something here?
Regards
Kai
2012 Jul 28
0
[LLVMdev] Roundtrip clang -> llc -> clang fails
...> }
>
> If I execute the following commands
>
> clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c
> llc -filetype=asm exc_alloc.ll
> clang -c exc_alloc.s
>
> then I get the error messages
>
> exc_alloc.s:11:31: error: invalid variant '0'
> callq *__imp_GetProcessHeap at 0(%rip)
> ^
> exc_alloc.s:16:27: error: invalid variant '20'
> callq *__imp_HeapAlloc at 20(%rip)
>
>
> Do I miss something here?
>
> Regards
> Kai
MC (the part of LLVM that does asm parsing) can't parse C...