[all-commits] [llvm/llvm-project] 35bf8e: [Support] Add decodeULEB128AndInc/decodeSLEB128AndInc

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Mar 19 15:40:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35bf8e798dc61aee9fcfbc0b162169295d1ce290
      https://github.com/llvm/llvm-project/commit/35bf8e798dc61aee9fcfbc0b162169295d1ce290
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/include/llvm/Support/LEB128.h
    M llvm/unittests/Support/LEB128Test.cpp
    M llvm/utils/TableGen/DecoderEmitter.cpp

  Log Message:
  -----------
  [Support] Add decodeULEB128AndInc/decodeSLEB128AndInc

Many decodeULEB128/decodeSLEB128 users need to increment the pointer.
Add helpers to simplify this common pattern. We don't add `end` and
`error` parameters at present because many users don't need them.

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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list