[all-commits] [llvm/llvm-project] 1d891d: [WebAssembly] Rename event to tag

Heejin Ahn via All-commits all-commits at lists.llvm.org
Thu Jun 17 20:34:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d891d44f33f99c55e779acaeac4628e4ac9aaaf
      https://github.com/llvm/llvm-project/commit/1d891d44f33f99c55e779acaeac4628e4ac9aaaf
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M lld/include/lld/Common/LLVM.h
    R lld/test/wasm/Inputs/event-section1.ll
    R lld/test/wasm/Inputs/event-section2.ll
    A lld/test/wasm/Inputs/tag-section1.ll
    A lld/test/wasm/Inputs/tag-section2.ll
    R lld/test/wasm/event-section.ll
    A lld/test/wasm/tag-section.ll
    M lld/wasm/InputChunks.cpp
    M lld/wasm/InputElement.h
    M lld/wasm/InputFiles.cpp
    M lld/wasm/InputFiles.h
    M lld/wasm/MarkLive.cpp
    M lld/wasm/OutputSections.cpp
    M lld/wasm/SymbolTable.cpp
    M lld/wasm/SymbolTable.h
    M lld/wasm/Symbols.cpp
    M lld/wasm/Symbols.h
    M lld/wasm/SyntheticSections.cpp
    M lld/wasm/SyntheticSections.h
    M lld/wasm/Writer.cpp
    M lld/wasm/WriterUtils.cpp
    M lld/wasm/WriterUtils.h
    M lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/include/llvm/BinaryFormat/WasmRelocs.def
    M llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
    M llvm/include/llvm/MC/MCSymbolWasm.h
    M llvm/include/llvm/Object/Wasm.h
    M llvm/include/llvm/ObjectYAML/WasmYAML.h
    M llvm/lib/BinaryFormat/Wasm.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Object/RelocationResolver.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/ObjectYAML/WasmEmitter.cpp
    M llvm/lib/ObjectYAML/WasmYAML.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
    M llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
    M llvm/test/CodeGen/WebAssembly/exception.ll
    M llvm/test/CodeGen/WebAssembly/null-streamer.ll
    M llvm/test/MC/WebAssembly/annotations.s
    M llvm/test/MC/WebAssembly/basic-assembly.s
    R llvm/test/MC/WebAssembly/event-section-decoding.ll
    R llvm/test/MC/WebAssembly/event-section.ll
    A llvm/test/MC/WebAssembly/tag-section-decoding.ll
    A llvm/test/MC/WebAssembly/tag-section.ll
    M llvm/test/ObjectYAML/wasm/event_section.yaml
    M llvm/tools/llvm-readobj/WasmDumper.cpp
    M llvm/tools/obj2yaml/wasm2yaml.cpp

  Log Message:
  -----------
  [WebAssembly] Rename event to tag

We recently decided to change 'event' to 'tag', and 'event section' to
'tag section', out of the rationale that the section contains a
generalized tag that references a type, which may be used for something
other than exceptions, and the name 'event' can be confusing in the web
context.

See
- https://github.com/WebAssembly/exception-handling/issues/159#issuecomment-857910130
- https://github.com/WebAssembly/exception-handling/pull/161

Reviewed By: tlively

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




More information about the All-commits mailing list