diff options
| -rw-r--r-- | lld/wasm/Config.h | 1 | ||||
| -rw-r--r-- | lld/wasm/Driver.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lld/wasm/Config.h b/lld/wasm/Config.h index 72465724e3e..82f49ce175b 100644 --- a/lld/wasm/Config.h +++ b/lld/wasm/Config.h @@ -39,7 +39,6 @@ struct Configuration { llvm::StringSet<> AllowUndefinedSymbols; std::vector<llvm::StringRef> SearchPaths; - std::vector<Symbol *> SyntheticGlobals; Symbol *StackPointerSymbol = nullptr; }; diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index 0b9653d9141..2858f68397b 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp @@ -142,7 +142,6 @@ static Symbol* addSyntheticGlobal(StringRef Name, int32_t Value) { log("injecting global: " + Name); Symbol *S = Symtab->addDefinedGlobal(Name); S->setVirtualAddress(Value); - Config->SyntheticGlobals.emplace_back(S); return S; } |

