[all-commits] [llvm/llvm-project] 0a60c4: [Support] Add signed operations to DataExtractor (...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jul 7 23:47:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a60c4ca223a4e4cb91f1a400ceb0d99a1727b75
      https://github.com/llvm/llvm-project/commit/0a60c4ca223a4e4cb91f1a400ceb0d99a1727b75
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Support/DataExtractor.h
    M llvm/lib/Support/DataExtractor.cpp
    M llvm/unittests/Support/DataExtractorTest.cpp

  Log Message:
  -----------
  [Support] Add signed operations to DataExtractor (#147261)

This is motivated by the [SFrame format](https://discourse.llvm.org/t/rfc-adding-sframe-support-to-llvm/86900),
which contains several signed fields.

Having explicit signed operations makes the parsing code read better and
avoids potential surprises if e.g. a "signed" uint8_t value is converted
ta greater width.



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