[PATCH] D103131: support debug info for alias variable

Umesh Kalappa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 00:07:24 PDT 2021


umesh.kalappa0 added inline comments.


================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:4949
+void CGDebugInfo::EmitGlobalAlias(llvm::GlobalAlias *Var, const VarDecl *D) {
+  if (!CGM.getCodeGenOpts().hasReducedDebugInfo())
+    return;
----------------
check is redundant ,no required here ....the caller takencare the check .


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