diff options
author | Sam Clegg <sbc@chromium.org> | 2019-10-17 05:16:54 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-10-17 05:16:54 +0000 |
commit | 67b055841f3b64efd1e92bde3ed7aeeb493c1182 (patch) | |
tree | 049728a5c29e7bc5910888b0c5b895416b3f0f2c /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | 9e7e36d4c2602ed10fc1ac037c7ebed50b7df859 (diff) | |
download | bcm5719-llvm-67b055841f3b64efd1e92bde3ed7aeeb493c1182.tar.gz bcm5719-llvm-67b055841f3b64efd1e92bde3ed7aeeb493c1182.zip |
[lld][WebAssebmly] Preserve custom import attributes with LTO
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions