[all-commits] [llvm/llvm-project] fffdf5: [BOLT] Flip the first and last bits of build ID (#...

YongKang Zhu via All-commits all-commits at lists.llvm.org
Sat Aug 8 22:27:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fffdf5d6536e4064bf089642f80d44192114edc5
      https://github.com/llvm/llvm-project/commit/fffdf5d6536e4064bf089642f80d44192114edc5
  Author: YongKang Zhu <yongzhu at fb.com>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M bolt/lib/Rewrite/BuildIDRewriter.cpp
    A bolt/test/build-id-patch.c

  Log Message:
  -----------
  [BOLT] Flip the first and last bits of build ID (#214784)

With only the last bit in a build ID flipped, some crash analysis or
symbolication tools that derive module ID from the first 16 bytes are
not able to differentiate pre- and post-BOLT libraries if both are
archived. So besides the last bit, we now also flip the high bit of
the first byte in a 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