[PATCH] D120989: Support debug info for alias variable

Kavitha Natarajan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 6 23:46:11 PST 2022


kavitha-natarajan added a comment.

In D120989#3362491 <https://reviews.llvm.org/D120989#3362491>, @dblaikie wrote:

> In D120989#3362490 <https://reviews.llvm.org/D120989#3362490>, @dblaikie wrote:
>
>> Broad question about debug info for aliases: How's this proposed solution compare/contrast to GCC's behavior?
>
> Aaand, I see that was described in thhe patch description. Sorry for not reading...
>
> Right, paging in all the context - this review hinges on whether gdb/lldb can handle/be made to handle this sort of debug info correctly.

I have posted a gdb patch to handle this change for review:
https://sourceware.org/pipermail/gdb-patches/2022-March/186329.html

lldb can handle this debug info correctly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120989/new/

https://reviews.llvm.org/D120989



More information about the cfe-commits mailing list