[all-commits] [llvm/llvm-project] feac81: [MC][WebAssembly] Only emit indirect function tabl...

Andy Wingo via All-commits all-commits at lists.llvm.org
Wed Nov 25 08:43:56 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: feac819e50b2b62eeafdf1a7e6ecaa725d7bf08d
      https://github.com/llvm/llvm-project/commit/feac819e50b2b62eeafdf1a7e6ecaa725d7bf08d
  Author: Andy Wingo <wingo at igalia.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCSymbolWasm.h
    M llvm/include/llvm/Object/Wasm.h
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/test/MC/WebAssembly/assembler-binary.ll
    M llvm/test/MC/WebAssembly/comdat.ll
    M llvm/test/MC/WebAssembly/custom-sections.ll
    M llvm/test/MC/WebAssembly/data-section.s
    M llvm/test/MC/WebAssembly/event-section.ll
    M llvm/test/MC/WebAssembly/external-func-address.ll
    M llvm/test/MC/WebAssembly/global-ctor-dtor.ll
    M llvm/test/MC/WebAssembly/reloc-pic.s
    M llvm/test/MC/WebAssembly/tables.s
    M llvm/test/MC/WebAssembly/type-index.s
    M llvm/test/MC/WebAssembly/wasm64.s

  Log Message:
  -----------
  [MC][WebAssembly] Only emit indirect function table import if needed

The indirect function table, synthesized by the linker, is needed if and
only if there are TABLE_INDEX relocs.

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




More information about the All-commits mailing list