[all-commits] [llvm/llvm-project] f2af06: [llvm-objcopy] Initial support for wasm in llvm-ob...

Derek Schuff via All-commits all-commits at lists.llvm.org
Wed Jan 29 17:35:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f2af0607000cb18bf9292457ea247bb6602b4cdb
      https://github.com/llvm/llvm-project/commit/f2af0607000cb18bf9292457ea247bb6602b4cdb
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Object/Wasm.h
    A llvm/test/tools/llvm-objcopy/wasm/basic-archive-copy.test
    A llvm/test/tools/llvm-objcopy/wasm/basic-copy.test
    M llvm/tools/llvm-objcopy/CMakeLists.txt
    M llvm/tools/llvm-objcopy/llvm-objcopy.cpp
    A llvm/tools/llvm-objcopy/wasm/Object.h
    A llvm/tools/llvm-objcopy/wasm/Reader.cpp
    A llvm/tools/llvm-objcopy/wasm/Reader.h
    A llvm/tools/llvm-objcopy/wasm/WasmObjcopy.cpp
    A llvm/tools/llvm-objcopy/wasm/WasmObjcopy.h
    A llvm/tools/llvm-objcopy/wasm/Writer.cpp
    A llvm/tools/llvm-objcopy/wasm/Writer.h

  Log Message:
  -----------
  [llvm-objcopy] Initial support for wasm in llvm-objcopy

Currently only supports simple copying, other operations to follow.

Reviewers: sbc100, alexshap, jhenderson

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

This is a reland of a928d127a with a one-line fix to ensure that
the wasm version number is written as little-endian (it's the only
field in all of the binary format that's not a single byte or an
LEB, but we may have to watch out more when we start handling the
linking section).




More information about the All-commits mailing list