Add support for adding, removing, and dumping wasm sections to objcopy.
Depends on D70930
Differential D70970
[llvm-objcopy][WebAssembly] Add dump/add/remove-section support dschuff on Dec 3 2019, 10:24 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions
Comment Actions Unit tests: pass. 62119 tests passed, 0 failed and 808 were skipped. clang-tidy: fail. clang-tidy found 2 errors and 6 warnings. clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Comment Actions Unit tests: fail. 62355 tests passed, 1 failed and 839 were skipped. failed: libc++.std/containers/sequences/array/array_creation/to_array.fail.cpp clang-tidy: pass. clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project. Comment Actions Rebased against master, and addressed all the comments; please take a look.
Comment Actions Unit tests: fail. 62355 tests passed, 1 failed and 839 were skipped. failed: libc++.std/containers/sequences/array/array_creation/to_array.fail.cpp clang-tidy: pass. clang-format: pass. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.
Comment Actions Unit tests: fail. 62355 tests passed, 1 failed and 839 were skipped. failed: libc++.std/containers/sequences/array/array_creation/to_array.fail.cpp clang-tidy: pass. clang-format: pass. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project. Comment Actions Looks good. Perhaps worth a test case for --dump-section + --remove-section for the same section? That feels like an important interaction to me.
Comment Actions
Comment Actions Unit tests: pass. 62516 tests passed, 0 failed and 844 were skipped. clang-tidy: pass. clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch. Build artifacts: clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project. Comment Actions Fixed the nit and added the test for dump-section and remove-section. The clang-format bot seems very confused, but I ran clang-format locally.
|
dumps -> dumps and removes