[all-commits] [llvm/llvm-project] 0a3910: [WebAssembly] Add Object and ObjectWriter support ...

Derek Schuff via All-commits all-commits at lists.llvm.org
Mon Dec 7 12:14:22 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a391060f16dc3e10bcb0b02036073021c414006
      https://github.com/llvm/llvm-project/commit/0a391060f16dc3e10bcb0b02036073021c414006
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/include/llvm/Object/Wasm.h
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCObjectFileInfo.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/ObjectYAML/WasmYAML.cpp
    M llvm/test/DebugInfo/WebAssembly/dwarf-headers.ll
    A llvm/test/MC/WebAssembly/comdat-sections.ll
    M llvm/tools/obj2yaml/wasm2yaml.cpp

  Log Message:
  -----------
  [WebAssembly] Add Object and ObjectWriter support for wasm COMDAT sections

Allow sections to be placed into COMDAT groups, in addtion to functions and data
segments.

Also make section symbols unnamed, which allows sections with identical names
(section names are independent of their section symbols, but previously we
gave the symbols the same name as their sections, which results in collisions
when sections are identically-named).

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




More information about the All-commits mailing list