[all-commits] [llvm/llvm-project] 1c7b84: [WebAssembly] Make tag attribute's encoding uint8
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Mon Jun 21 21:23:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c7b84108861ac92fb353891e7e4c747b6ea9f28
https://github.com/llvm/llvm-project/commit/1c7b84108861ac92fb353891e7e4c747b6ea9f28
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M llvm/include/llvm/BinaryFormat/Wasm.h
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/Object/WasmObjectFile.cpp
Log Message:
-----------
[WebAssembly] Make tag attribute's encoding uint8
This changes the encoding of the `attribute` field, which currently only
contains the value `0` denoting this tag is for an exception, from
`varuint32` to `uint8`. This field is effectively unused at the moment
and reserved for future use, and it is not likely to need `varuint32`
even in future.
See https://github.com/WebAssembly/exception-handling/pull/162.
This does not change any encoded binaries because `0` is encoded in the
same way both in `varuint32` and `uint8`.
Reviewed By: tlively
Differential Revision: https://reviews.llvm.org/D104571
More information about the All-commits
mailing list