[PATCH] D108060: WIP: [WebAssembly] Always use call_indirect when calling interposable functions

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 17:38:21 PDT 2021


sbc100 added a comment.

In D108060#2944722 <https://reviews.llvm.org/D108060#2944722>, @dschuff wrote:

> when is `Func->isInterposable()` true? Is it just for weakly-defined functions (unlike e.g. in ELF where it's true anytime it's not DSO-local?)

Ah good point..  my goal here is to got call_indirect (via GOT) for weakly defined functions, but we might not want to do this for all externally visible symbols (or when calling imported functions).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108060/new/

https://reviews.llvm.org/D108060



More information about the llvm-commits mailing list