search for: dbg_stoppoint

Displaying 3 results from an estimated 3 matches for "dbg_stoppoint".

2004 Oct 01
1
[LLVMdev] Getting source line numbers from within a Pass?
Hi, I would like to get at the source line number(s) that a BasicBlock is generated from, and the only interface I see to this info in the code is from the debugger. After sifting through that, I think I might be able to do what I want by finding dbg_stoppoint intrinsics, but I'm not sure how to get to them. And, if there's an easy way, that'd be cool to know about. Also, I cant seem to produce an LLVM assembly file with the stoppoints visible. Do I need to do anything special to see them? Thanks, -mike
2008 Oct 13
0
[LLVMdev] api changes in llvm 2.4
...ueType’ has not been declared typedef uint32_t ValueType is replaced with struct llvm::MVT. A text replace cured this. 6) error: ‘LABEL’ is not a member of ‘llvm::ISD’ Split to DBG_LABEL and EH_LABEL. In our case we needed only DBG_LABEL. 7) ‘LOCATION’ is not a member of ‘llvm::ISD’ Renamed to DBG_STOPPOINT. 8) error: ‘class llvm::SDValue’ has no member named ‘Val’ SDOperand had 'Val' which can be replaced by getNode(). 9) switch(op.getOperand(1).getValueType()) does not work In our case I could replace it with switch(op.getOperand(1).getValueType().getSimpleVT()) 10) SelectionDAGIsel::I...
2008 Oct 11
2
[LLVMdev] api changes in llvm 2.4
In the 2.3 release, we included a list of the major LLVM API changes. If you are working on upgrading your code from 2.3 to 2.4, I'd appreciate it if you could compile a list of the major stumbling blocks you have, so that others can benefit from your experience. Please send any info to the list, thanks! -Chris