diff options
author | Sam Clegg <sbc@chromium.org> | 2024-07-02 11:23:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 11:23:15 -0700 |
commit | 0fb3351524acd48c62c06c57ed28cc423db4e99e (patch) | |
tree | cdbc39971f0c58eb1b805664a25f7a5501f190ed /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 5f1743cd074cc7d45744d1acc8db379513b4501c (diff) | |
download | llvm-0fb3351524acd48c62c06c57ed28cc423db4e99e.zip llvm-0fb3351524acd48c62c06c57ed28cc423db4e99e.tar.gz llvm-0fb3351524acd48c62c06c57ed28cc423db4e99e.tar.bz2 |
[lld][WebAssembly] Fix for --import-table when combined with reference types (#97451)
When reference types are enabled clang will generate call_indirect
instructions that explicitly reference the global
`__indirect_function_table` symbol.
In this case the resulting global symbol was not being correctly marked
with explicit import name/module, resulting in the linker reporting
errors when it was referenced.
This issue was reported in
https://github.com/WebAssembly/tool-conventions/issues/158
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions