[PATCH] D103131: support debug info for alias variable
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 28 11:30:12 PDT 2021
probinson added inline comments.
================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:4957
+ auto Loc = getLineNumber(D->getLocation());
+ DBuilder.createGlobalVariableExpression(
+ DContext, Name, StringRef(), Unit, Loc, Ty,
----------------
I wasn't saying that gcc did the right thing! Quite the opposite, I think the imported declaration is preferable, and I believe @dblaikie also thought it would be okay.
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