search for: heap_generate_except

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

2012 Jul 27
3
[LLVMdev] Roundtrip clang -> llc -> clang fails
Hi! I am not sure if this is a bug or not. I have the following non-sense C module exc_alloc.c: #include <windows.h> void *AllocMem() { HANDLE heap = GetProcessHeap(); void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS | 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' call...
2012 Jul 28
0
[LLVMdev] Roundtrip clang -> llc -> clang fails
...i <kai at redstar.de> wrote: > Hi! > > I am not sure if this is a bug or not. > > I have the following non-sense C module exc_alloc.c: > > #include <windows.h> > > void *AllocMem() { > HANDLE heap = GetProcessHeap(); > void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS | > 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_all...