[PATCH] D103131: support debug info for alias variable

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 22 15:47:09 PDT 2021


dblaikie added a comment.

Huh, that surprises me - guess gdb favors checking the symbol first. I guess maybe it is using something that determines that that symbol comes from the file with debug info - because on a similar test case (one file without debug info, defining some global variable `i`, another file with debug info with a `using ns::i` in the global scope - printing `i` when stepping into the second file correctly prints the `using` based alias value, but stepping into the file without debug info and printing `i` complains about not knowing the type of that `i`)

How's lldb go?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103131



More information about the cfe-commits mailing list