[PATCH] D156537: [CodeGen] Keep track of eagerly emitted globals
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 2 09:06:50 PDT 2023
v.g.vassilev added a comment.
In D156537#4554052 <https://reviews.llvm.org/D156537#4554052>, @Hahnfeld wrote:
> @v.g.vassilev do we have a means to detect this case? In D156897 <https://reviews.llvm.org/D156897>, I'm refactoring all accesses to `EmittedDeferredDecl` to go via `addEmittedDeferredDecl`, so we should just add an early return when not emitting for a REPL.
We have `getLangOpts().IncrementalExtensions`. Does that work?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156537/new/
https://reviews.llvm.org/D156537
More information about the cfe-commits
mailing list