diff options
| author | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-08-17 14:21:39 +0200 |
|---|---|---|
| committer | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2023-08-17 14:21:39 +0200 |
| commit | 0e17372b380467ac8339afdec992fbf887a11feb (patch) | |
| tree | 0e68b77c0a8db82a7375e9d29a3f2caf6d29603f /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | f8dadefd4afc8e1b7b9a1e69a0ba8df051e03328 (diff) | |
Revert "[CodeGen] Keep track of eagerly emitted globals"
The added test doesn't work on Windows:
https://lab.llvm.org/buildbot/#/builders/216/builds/25769
This reverts commit f8dadefd4afc8e1b7b9a1e69a0ba8df051e03328.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 440fb040a43c..517af514d9c9 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -3658,7 +3658,6 @@ void CodeGenModule::EmitGlobal(GlobalDecl GD) { if (MustBeEmitted(Global) && MayBeEmittedEagerly(Global)) { // Emit the definition if it can't be deferred. EmitGlobalDefinition(GD); - addEmittedDeferredDecl(GD); return; } |
