llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc
Sam Clegg 66a99e41cd Change encodeU/SLEB128 to pad to certain number of bytes
Previously the 'Padding' argument was the number of padding
bytes to add. However most callers that use 'Padding' know
how many overall bytes they need to write.  With the previous
code this would mean encoding the LEB once to find out how
many bytes it would occupy and then using this to calulate
the 'Padding' value.

See: https://reviews.llvm.org/D36595

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

llvm-svn: 313393
2017-09-15 20:34:47 +00:00
..
CMakeLists.txt [WebAssembly] Add skeleton MC support for the Wasm container format 2017-02-22 01:23:18 +00:00
LLVMBuild.txt
WebAssemblyAsmBackend.cpp [WebAssembly] Fix build after r306177 2017-06-24 01:00:43 +00:00
WebAssemblyELFObjectWriter.cpp
WebAssemblyFixupKinds.h [WebAssembly] Basic support for Wasm object file encoding. 2017-02-24 23:18:00 +00:00
WebAssemblyMCAsmInfo.cpp Unbreak build of the wasm backend after r300463. 2017-04-17 19:08:41 +00:00
WebAssemblyMCAsmInfo.h [WebAssembly] Add skeleton MC support for the Wasm container format 2017-02-22 01:23:18 +00:00
WebAssemblyMCCodeEmitter.cpp Change encodeU/SLEB128 to pad to certain number of bytes 2017-09-15 20:34:47 +00:00
WebAssemblyMCTargetDesc.cpp Fix WebAssembly target after r309911. 2017-08-03 05:15:53 +00:00
WebAssemblyMCTargetDesc.h [WebAssembly] Add target feature for atomics 2017-08-30 18:07:45 +00:00
WebAssemblyTargetStreamer.cpp [WebAssembly] Fix types for address taken functions 2017-07-05 20:25:08 +00:00
WebAssemblyTargetStreamer.h [WebAssembly] Fix types for address taken functions 2017-07-05 20:25:08 +00:00
WebAssemblyWasmObjectWriter.cpp [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00