[all-commits] [llvm/llvm-project] c9dd1c: [Objcopy][Wasm] Allow selecting known sections by ...
Derek Schuff via All-commits
all-commits at lists.llvm.org
Mon Jun 6 13:54:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9dd1cc6f0536c6547f322107cd27cd953913f5c
https://github.com/llvm/llvm-project/commit/c9dd1cc6f0536c6547f322107cd27cd953913f5c
Author: Derek Schuff <dschuff at chromium.org>
Date: 2022-06-06 (Mon, 06 Jun 2022)
Changed paths:
M llvm/lib/ObjCopy/wasm/WasmReader.cpp
M llvm/test/tools/llvm-objcopy/wasm/dump-section.test
M llvm/test/tools/llvm-objcopy/wasm/only-keep-debug.test
M llvm/test/tools/llvm-objcopy/wasm/remove-section.test
Log Message:
-----------
[Objcopy][Wasm] Allow selecting known sections by name
Currently, only custom sections can be selected by operations that use section
names, because only custom sections have explicit names (whereas known sections
have names defined by the spec and only use their indices in the binary format).
This CL makes objdopy use the spec-defined names for these sections, allowing
them to be used in operations such as dumping and removal.
This is a prerequisite for fixing
https://github.com/emscripten-core/emscripten/issues/13084
Differential Revision: https://reviews.llvm.org/D126509
More information about the All-commits
mailing list