[llvm-commits] [llvm] r62199 - in /llvm/trunk: include/llvm/CodeGen/MachineModuleInfo.h lib/CodeGen/AsmPrinter/DwarfWriter.cpp lib/CodeGen/MachineModuleInfo.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Török Edwin edwintorok at gmail.com
Wed Jan 14 11:32:21 PST 2009

On 2009-01-14 21:10, John Criswell wrote:
> I have some code from Edwin Torok that I'm using which currently relies
> upon these Debug Info classes.

Hi John,

I assume you are refering to my SourceLocator class.
That should have been superceded by the findStopPoint(),
findBBStopPoint() and findDbgDeclare() in
include/llvm/Analysis/DebugInfo.h. See lib/Analysis/DbgInfoPrinter.cpp
for example usage.

The DI* classes each take a GlobalVariable (that you usually obtain via
DbgStopPoint->getVariable()), and
then provide you accessor methods for all the details of that particular
debug descriptor.

All in all  it should provide the same info SourceLocator provided, and
they don't need DIDeserializer.

[I think I CC'ed you when that patch was committed to mainline, sorry if
I didn't.]

Best regards,

More information about the llvm-commits mailing list