[llvm] [Support] Add decodeULEB128AndInc/decodeSLEB128AndInc (PR #85739)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 22:26:17 PDT 2024
lhames wrote:
Yeah. From an API design standpoint I'd love the error-checking variants to be the go-to ones, with something like "decodeULEB128ThatIPromiseIsSafe" as the performance option. I'd also be in favor of Expected over optional error arguments to ensure that the errors actually are checked / propagated.
https://github.com/llvm/llvm-project/pull/85739
More information about the llvm-commits
mailing list