[PATCH] D46416: [WebAssembly] Add option to remove LEB padding at relocate sites
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 3 18:50:09 PDT 2018
sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.
This change adds an option to remove LEB padding from code
section when applying relocations. This effectively shrinks
the size of the resulting binary in proportion to the number
of code relocations.
I imagine we will want this to become the default some time
soon.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D46416
Files:
test/wasm/compress-relocs.ll
wasm/Config.h
wasm/Driver.cpp
wasm/InputChunks.cpp
wasm/InputChunks.h
wasm/Options.td
wasm/OutputSections.cpp
wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46416.145131.patch
Type: text/x-patch
Size: 10755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/bbd7a1ee/attachment.bin>
More information about the llvm-commits
mailing list