[clang] [llvm] [clang] Add "debug_transparent" attribute (PR #109490)
Augusto Noronha via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 25 16:52:26 PDT 2024
================
@@ -4160,6 +4178,8 @@ llvm::DISubprogram *CGDebugInfo::getFunctionFwdDeclOrStub(GlobalDecl GD,
if (Stub) {
Flags |= getCallSiteRelatedAttrs();
SPFlags |= llvm::DISubprogram::SPFlagDefinition;
+ if (usesDebugTransparent(FD, CGM))
----------------
augusto2112 wrote:
Turns out adding this flag only in `emitFunction` is enough to cover all cases.
https://github.com/llvm/llvm-project/pull/109490
More information about the cfe-commits
mailing list