diff options
author | Sam Clegg <sbc@chromium.org> | 2017-09-15 20:34:47 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-09-15 20:34:47 +0000 |
commit | 66a99e41cdc8d1ddd67860f7d97d861f654f1dbd (patch) | |
tree | 1a16a1862c0a527303792304cab8c61e1041cf7c /llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | |
parent | 04370d3a820f65ac91faae9eb026ddea33b4f16e (diff) | |
download | bcm5719-llvm-66a99e41cdc8d1ddd67860f7d97d861f654f1dbd.tar.gz bcm5719-llvm-66a99e41cdc8d1ddd67860f7d97d861f654f1dbd.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp')
0 files changed, 0 insertions, 0 deletions