[all-commits] [llvm/llvm-project] 8ea59e: [BOLT] Use rewriter interface for updating binary ...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Mon Jun 3 21:40:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ea59ec6077e85c457b27b406a679ab9d5827387
      https://github.com/llvm/llvm-project/commit/8ea59ec6077e85c457b27b406a679ab9d5827387
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinarySection.h
    M bolt/include/bolt/Rewrite/MetadataManager.h
    M bolt/include/bolt/Rewrite/MetadataRewriter.h
    M bolt/include/bolt/Rewrite/MetadataRewriters.h
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    A bolt/lib/Rewrite/BuildIDRewriter.cpp
    M bolt/lib/Rewrite/CMakeLists.txt
    M bolt/lib/Rewrite/MetadataManager.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Use rewriter interface for updating binary build ID (#94273)

Move functionality for patching build ID into a separate rewriter class
and change the way we do the patching. Support build ID in different
note sections in order to update the build ID in the Linux kernel binary
which puts in into ".notes" section instead of ".note.gnu.build-id".



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