[all-commits] [llvm/llvm-project] f23b25: [WebAssembly] Improve error messages regarding mis...

Sam Clegg via All-commits all-commits at lists.llvm.org
Wed Apr 7 07:59:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f23b259e1877115794c0bb5654a329c7bdefadb0
      https://github.com/llvm/llvm-project/commit/f23b259e1877115794c0bb5654a329c7bdefadb0
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/lib/MC/WasmObjectWriter.cpp

  Log Message:
  -----------
  [WebAssembly] Improve error messages regarding missing indirect function table. NFC

Use report_fatal_error here since this is an internal error, and not
something the user can/should be trying to fix.

Also distinguish between the symbol being missing and the symbol having
the wrong type.

We have a failure internally where the symbol is missing.  Currently
trying to reduce the test case to something we can attach to an llvm
bug.

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




More information about the All-commits mailing list