summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/Inputs/import-attributes.ll
Commit message (Collapse)AuthorAgeFilesLines
* [lld][WebAssebmly] Preserve custom import attributes with LTOSam Clegg2019-10-171-0/+10
Undefined symbols in WebAssembly can come with custom `import-module` and `import-field` attributes. However when reading symbols from bitcode object files during LTO those curtom attributes are not available. Once we compile the LTO object and read in the symbol table from the object file we have access to these custom attributes. In this case, when undefined symbols are added and a symbol already exists in the SymbolTable we can't simple return it, we may need to update the symbol's attributes. Fixes: PR43211 Differential Revision: https://reviews.llvm.org/D68959 llvm-svn: 375081
OpenPOWER on IntegriCloud