[LLVMdev] getting debug info
Devang Patel
devang.patel at gmail.com
Tue Sep 22 12:00:26 PDT 2009
On Tue, Sep 22, 2009 at 11:20 AM, Alvin Cheung <alvin.cheung at gmail.com> wrote:
> I am using the trunk version of llvm-gcc to generate the debug info, and I
> have checked out the DebugInfoFinder class. Basically, I am interested in
> looking up debug info for structures, and I am wondering if there is a way
> for me to look up the debug info associated with a Type * directly instead
> of building a custom map from Type * to DICompositeType by iterating through
> the type iterator in DebugInfoFinder.
That's the only way. The llvm::Type does not know anything about some
other entity describing the type to generate debugging information.
-
Devang
More information about the llvm-dev
mailing list