[all-commits] [llvm/llvm-project] d4b7c0: [Remarks] Auto-detect remark parser format (#144554)

Tobias Stadler via All-commits all-commits at lists.llvm.org
Wed Jun 18 12:50:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4b7c0d8b437f50ea254d814a1aeecf87a17be91
      https://github.com/llvm/llvm-project/commit/d4b7c0d8b437f50ea254d814a1aeecf87a17be91
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M llvm/include/llvm/Remarks/RemarkFormat.h
    M llvm/include/llvm/Remarks/RemarkLinker.h
    M llvm/lib/Remarks/RemarkFormat.cpp
    M llvm/lib/Remarks/RemarkLinker.cpp
    M llvm/lib/Remarks/RemarkParser.cpp
    M llvm/lib/Remarks/RemarkSerializer.cpp
    A llvm/test/tools/llvm-remarkutil/Inputs/broken-remark-magic.bitstream
    M llvm/test/tools/llvm-remarkutil/annotation-count.test
    A llvm/test/tools/llvm-remarkutil/broken-bitstream-remark-magic.test
    M llvm/test/tools/llvm-remarkutil/empty-file.test
    M llvm/test/tools/llvm-remarkutil/instruction-count.test
    M llvm/test/tools/llvm-remarkutil/instruction-mix.test
    M llvm/test/tools/llvm-remarkutil/size-diff/no-difference.test
    M llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
    M llvm/unittests/Remarks/RemarksLinkingTest.cpp

  Log Message:
  -----------
  [Remarks] Auto-detect remark parser format (#144554)

Add remark format 'Auto', which performs automatic detection of the
remark format using the magic numbers at the beginning of the remarks
files.

The RemarkLinker already did something similar, so we streamlined this
and exposed this to llvm-remarkutil.



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