summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-09-15 20:34:47 +0000
committerSam Clegg <sbc@chromium.org>2017-09-15 20:34:47 +0000
commit66a99e41cdc8d1ddd67860f7d97d861f654f1dbd (patch)
tree1a16a1862c0a527303792304cab8c61e1041cf7c /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent04370d3a820f65ac91faae9eb026ddea33b4f16e (diff)
downloadbcm5719-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/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud