[PATCH] D72427: [DebugInfo] Add option to clang to limit debug info that is emitted for classes.
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 09:08:38 PST 2020
aprantl added inline comments.
================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:4516
void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD, const APValue &Init) {
- assert(DebugKind >= codegenoptions::LimitedDebugInfo);
+ assert(CGM.getCodeGenOpts().isFullDebug());
if (VD->hasAttr<NoDebugAttr>())
----------------
This change appears to be unnecessary?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72427/new/
https://reviews.llvm.org/D72427
More information about the cfe-commits
mailing list