From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Mon, 13 Jun 2022 16:49:07 +0000 (-0700) Subject: Revert "Also move WeakRefReferences in CodeGenModule::moveLazyEmssionStates" X-Git-Tag: upstream/15.0.7~4953 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d90eecff5c9e7e9f8263de6cd72d70322400829f;p=platform%2Fupstream%2Fllvm.git 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. --- diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 1eaeeb8..b7c180f 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1499,8 +1499,6 @@ public: assert(WeakRefReferences.empty() && "Not all WeakRefRefs have been applied"); - NewBuilder->WeakRefReferences = std::move(WeakRefReferences); - NewBuilder->TBAA = std::move(TBAA); }