[all-commits] [llvm/llvm-project] 4252f3: [WebAssembly] Set unreachable as canonical to perm...

Dominic Chen via All-commits all-commits at lists.llvm.org
Thu Sep 10 12:08:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4252f3009b169db250559d6a197b399375f89b27
      https://github.com/llvm/llvm-project/commit/4252f3009b169db250559d6a197b399375f89b27
  Author: Dominic Chen <d.c.ddcc at gmail.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td

  Log Message:
  -----------
  [WebAssembly] Set unreachable as canonical to permit disassembly

Currently, using llvm-objdump to disassemble a function containing
unreachable will trigger an assertion while decoding the opcode, since both
unreachable and debug_unreachable have the same encoding. To avoid this, set
unreachable as the canonical decoding.

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




More information about the All-commits mailing list