[all-commits] [llvm/llvm-project] 8fe128: [lld][WebAssembly] Create optional internal symbol...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Oct 5 13:33:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fe128476eb85ba582c477f61bc8ed003dd04f03
      https://github.com/llvm/llvm-project/commit/8fe128476eb85ba582c477f61bc8ed003dd04f03
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    A lld/test/wasm/lto/tls.ll
    M lld/wasm/Driver.cpp
    M lld/wasm/SymbolTable.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Create optional internal symbols only after LTO object as been added

This is important for the cases where new symbols can be introduced
during LTO.   Specifically this happens for during TLS-lowering where
references to `__tls_base` can be introduced.

Fixes: https://github.com/emscripten-core/emscripten/issues/12489

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




More information about the All-commits mailing list