[PATCH] Debugging LLVM IR with LLDB (and gdb)

Malea, Daniel daniel.malea at intel.com
Wed May 8 14:04:59 PDT 2013


Thanks for the reviews guys.

I committed in 4 stages; r181463, r181466, r181467 and r181469.

The tests had to be re-generated since my initial implementation as they
contained debug metadata which must be parsed by DebugInfoFinder (due to a
pesky limitation of my current implementation) and it seems the debug
information format for !llvm.dbg.cu has been slightly changed in the last
month.

I expect they'll break as well the next time that debug information is
updated. As a temporary workaround, shall I also check in the original
(C/C++) sources, as well as the script that generates the tests?

I hope to find some time soon to "finish" the implementation and not
require existing debug info from "clang -g" or equivalent, but for now, I
think checking in the source code would be best. At the same time, I know
there's been some concerns in the past with checking in C/C++ code into
the LLVM 'test' directory.. So I figured I'd ask before doing so.


Cheers,
Dan

On 2013-05-07 4:31 PM, "Eric Christopher" <echristo at gmail.com> wrote:

>> Meanwhile, I think you should commit what you have.
>>
>
>Agreed.
>
>-eric





More information about the llvm-commits mailing list