[LLVMdev] Debugging LLVM IR with GDB
Krzysztof Parzyszek
kparzysz at codeaurora.org
Wed Oct 17 20:31:35 PDT 2012
On 10/17/2012 9:04 AM, Duncan Sands wrote:
> Unfortunately I have no idea how to implement this in a reasonable way.
It should be possible to precompute the layout of the .ll file from the
IR itself and then add self-annotations. It may require a special form
of dumping the IR into a .ll file to make sure that empty lines, etc.
are properly synchronized with the annotations. Wouldn't this solve the
problem (reasonably)?
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list