Skip to content

Commit

Permalink
Revert "[CodeGen] Keep track of eagerly emitted globals"
Browse files Browse the repository at this point in the history
The added test doesn't work on Windows:
https://lab.llvm.org/buildbot/#/builders/216/builds/25769

This reverts commit f8dadef.
  • Loading branch information
hahnjo committed Aug 17, 2023
1 parent f8dadef commit 0e17372
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion clang/lib/CodeGen/CodeGenModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
21 changes: 0 additions & 21 deletions clang/test/Interpreter/inline-virtual.cpp

This file was deleted.

0 comments on commit 0e17372

Please sign in to comment.