From 0e3ae7d2d0e82d958cdddbc969c0c889e9398dd7 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Tue, 3 Dec 2024 13:24:41 +0530 Subject: [PATCH] Clear lazyBitcodeFiles while resetting context --- lld/wasm/Driver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index 8d01ff839ddfc..37a0156c728f6 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp @@ -59,6 +59,7 @@ void Ctx::reset() { stubFiles.clear(); sharedFiles.clear(); bitcodeFiles.clear(); + lazyBitcodeFiles.clear(); syntheticFunctions.clear(); syntheticGlobals.clear(); syntheticTables.clear();