From 2a473db57391e87ac0207a92117a14b0313661f7 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 17 Nov 2020 08:03:50 -0800 Subject: [WebAssembly] Fix parsing of linking section for named global imports Differential Revision: https://reviews.llvm.org/D91635 --- llvm/lib/Object/WasmObjectFile.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Object/WasmObjectFile.cpp') diff --git a/llvm/lib/Object/WasmObjectFile.cpp b/llvm/lib/Object/WasmObjectFile.cpp index 82aa1f5..d6bb96f 100644 --- a/llvm/lib/Object/WasmObjectFile.cpp +++ b/llvm/lib/Object/WasmObjectFile.cpp @@ -562,7 +562,6 @@ Error WasmObjectFile::parseLinkingSectionSymtab(ReadContext &Ctx) { Info.Name = Import.Field; } GlobalType = &Import.Global; - Info.ImportName = Import.Field; if (!Import.Module.empty()) { Info.ImportModule = Import.Module; } -- cgit v1.1