Jeremy, Vedant, thank you both for your help! I think I have something
working pretty well: https://reviews.llvm.org/D75338
I'd greatly appreciate code review here -- in the course of writing
the patch I definitely encountered gaps in my knowledge about debug
info. In particular, I wasn't able to
Vedant, Jeremy,
Thanks a ton! I copied ASan's use of 'replaceDbgDeclare', think that worked!
https://github.com/modocache/llvm-project/commit/afbc04e1dcba has some
extremely quick and dirty changes I made (with no tests!), and a link
to a Gist with the LLVM IR and DWARF produced,
https://gist.git
Vedant, thank you! I had meant to ask if any of this reminded you all
of something else that I could emulate. I'll look into uses of
'replaceDbgDeclare' in SafeStack/ASan. - Brian
On Wed, Feb 26, 2020 at 5:08 PM Vedant Kumar wrote:
>
> I haven't fully parsed this thread (sorry!), but I wanted to
Awesome, thanks Jeremy.
On Wed, Feb 26, 2020 at 11:02 AM Jeremy Morse
wrote:
>
> Hi Brian,
>
> On Tue, Feb 25, 2020 at 7:43 PM Brian Gesiak wrote:
> > In other words, the value of %i is stored on the frame object, on the
> > heap, at an offset of 7 into the frame. I'm beginning to think a
> > fu
Thanks all, especially Jeremy, for your help.
> On Thu, Feb 6, 2020 at 11:04 AM Jeremy Morse
> wrote:
>> Everything in the IR appears correct to my eyes, although I know next
>> to nothing about coroutines and might have missed something.
Yes, good point. I think a better explanation of the cor
Apologies for the slow response here Jeremy. Your reply has been incredibly
helpful so far, I just need to try adding 'llvm.dbg.addr' myself to confirm
that works. Thank you! - Brian Gesiak
On Thu, Feb 6, 2020 at 11:04 AM Jeremy Morse
wrote:
> Hi Brian,
>
> Thanks for working on coroutines, the
Hi all, I’m working on improving the debugging experience for C++20
coroutines when compiled with LLVM/Clang, and I could use some help
from someone who understands debug information and DWARF (knowledge of
coroutines isn't necessary, I don't think).
Specifically, I’m trying to improve lldb’s beha