HomePhabricator

[WebAssembly] Fix imported function symbol names that differ from their import…
Audit Required29874cea31ce

Authored by sunfish on Feb 7 2019, 2:03 PM.

Description

[WebAssembly] Fix imported function symbol names that differ from their import names in the .o format

Add a flag to allow symbols to have a wasm import name which differs from the
linker symbol name, allowing the linker to link code using the import_module
attribute.

This is the MC/Object portion of the patch.

Differential Revision: https://reviews.llvm.org/D57632

llvm-svn: 353474