[llvm-commits] [llvm] r78603 - in /llvm/trunk/lib/Target/PIC16: PIC16DebugInfo.cpp PIC16DebugInfo.h
Devang Patel
dpatel at me.com
Thu Aug 13 10:21:08 PDT 2009
Aha.. I see the bug in my patch.
>>>
>>>
>>> + unsigned SuffixNo = 0;
>>> + for (DebugInfoFinder::iterator I =
>>> DbgFinder.global_variable_begin(),
>>> + E = DbgFinder.global_variable_end(); I != E; ++I) {
>>> + DICompositeType CTy(*I);
>>> + if (CTy.isNull())
>>> + continue;
Here it should use
for(debugInfoFinder::iterator I = DbgFinder.type_begin(),
E = DbgFinder.type_end(); I != E; ++I) {
DICompositeType CTY(*I);
if (CTy.isNull())
continue;
Can you try this ?
Thanks,
-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090813/3c67530f/attachment.html>
More information about the llvm-commits
mailing list