[all-commits] [llvm/llvm-project] bcc4c9: [BOLT] Fix instruction encoding validation

maksfb via All-commits all-commits at lists.llvm.org
Tue Oct 18 13:50:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcc4c909544e136ac7198d0acf6768817b702bed
      https://github.com/llvm/llvm-project/commit/bcc4c909544e136ac7198d0acf6768817b702bed
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    A bolt/test/X86/encoding-validation.s

  Log Message:
  -----------
  [BOLT] Fix instruction encoding validation

Always use non-symbolizing disassembler for instruction encoding
validation as symbols will be treated as undefined/zeros be the encoder
and causing byte sequence mismatches.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D136118




More information about the All-commits mailing list