[clang] d90eecf - Revert "Also move WeakRefReferences in CodeGenModule::moveLazyEmssionStates"

Mitch Phillips via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 10:12:53 PDT 2022


Author: Mitch Phillips
Date: 2022-06-13T10:12:38-07:00
New Revision: d90eecff5c9e7e9f8263de6cd72d70322400829f

URL: https://github.com/llvm/llvm-project/commit/d90eecff5c9e7e9f8263de6cd72d70322400829f
DIFF: https://github.com/llvm/llvm-project/commit/d90eecff5c9e7e9f8263de6cd72d70322400829f.diff

LOG: Revert "Also move WeakRefReferences in CodeGenModule::moveLazyEmssionStates"

This reverts commit 0ecbedc0986bd4b7b90a60a5f31d32337160d4c4.

Parent change broke the ASan buildbot. See
https://reviews.llvm.org/D126781 for more information.

Added: 
    

Modified: 
    clang/lib/CodeGen/CodeGenModule.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 1eaeeb880597e..b7c180f1c8859 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1499,8 +1499,6 @@ class CodeGenModule : public CodeGenTypeCache {
 
     assert(WeakRefReferences.empty() &&
            "Not all WeakRefRefs have been applied");
-    NewBuilder->WeakRefReferences = std::move(WeakRefReferences);
-
     NewBuilder->TBAA = std::move(TBAA);
   }
 


        


More information about the cfe-commits mailing list