search for: dbg_stoppoint_fn

Displaying 1 result from an estimated 1 matches for "dbg_stoppoint_fn".

2004 Oct 06
1
[LLVMdev] generating function declarations in c frontend
...s treated as a declaration, so I tried to just create one and add it to the globals list: llvm_type *structTy, *ptrToStructTy; structTy = llvm_type_create_struct(0, 0); structTy = llvm_type_get_cannonical_struct(structTy); ptrToStructTy = llvm_type_get_pointer(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_f...