[llvm] [Support] Add decodeULEB128AndInc/decodeSLEB128AndInc (PR #85739)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 10:57:32 PDT 2024


adrian-prantl wrote:

https://github.com/llvm/llvm-project/blob/a1a8bb1d3ae9a535526aba9514e87f76e2d040fa/llvm/include/llvm/Support/LEB128.h#L131

It stops if the decoded value doesn't fit into a uint64_t, which I think is 9 bytes in the worst case. Maybe 10?

https://github.com/llvm/llvm-project/pull/85739


More information about the llvm-commits mailing list