search for: llvm_global

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

2004 Oct 06
1
[LLVMdev] generating function declarations in c frontend
...er(structTy); llvm_function *dbg_stoppoint_fn = llvm_function_new(ptrToStructTy, "llvm.dbg.stoppoint"); llvm_argument *arg = llvm_argument_new(structTy, "foo"); llvm_ilist_push_back(llvm_value, dbg_stoppoint_fn->Arguments, arg); /* line # 548 */ llvm_ilist_push_back(llvm_global, TheProgram.Globals, dbg_stoppoint_fn); This doesn't compile, but at first glance I'm not sure why, since I see in other places an llvm_argument being created then added to the Arguments list in the exact same way. ../../src/gcc/llvm-expand.c:548: warning: initialization from incompa...
2004 Oct 05
1
[LLVMdev] debugging info questions
Hi, It's taking me a while to get familiar with the cfe in order to add emitting stop points for debugging. It's a lot to work through, so in order to speed things up, I've got a few questions. Any help would be appreciated. I understand the design of the intrinsics once they're in the code, but how to generate them is still a little fuzzy, mainly because llvm_expand is a little