forked from OSchip/llvm-project
[WebAssembly] Fix parsing of linking section for named global imports
Differential Revision: https://reviews.llvm.org/D91635
This commit is contained in:
parent
0454154efd
commit
2a473db573
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -219,7 +219,6 @@
|
|||
; CHECK-NEXT: Flags [ (0x10)
|
||||
; CHECK-NEXT: UNDEFINED (0x10)
|
||||
; CHECK-NEXT: ]
|
||||
; CHECK-NEXT: ImportName: __stack_pointer
|
||||
; CHECK-NEXT: ImportModule: env
|
||||
; CHECK-NEXT: ElementIndex: 0x0
|
||||
; CHECK-NEXT: }
|
||||
|
|
|
@ -219,7 +219,6 @@
|
|||
; CHECK-NEXT: Flags [ (0x10)
|
||||
; CHECK-NEXT: UNDEFINED (0x10)
|
||||
; CHECK-NEXT: ]
|
||||
; CHECK-NEXT: ImportName: __stack_pointer
|
||||
; CHECK-NEXT: ImportModule: env
|
||||
; CHECK-NEXT: ElementIndex: 0x0
|
||||
; CHECK-NEXT: }
|
||||
|
|
Loading…
Reference in New Issue