[all-commits] [llvm/llvm-project] e00252: [BOLT] Verify externally referenced blocks against...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Sep 16 11:44:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e002523b65b8ce337c2cbdcb84b97d435e0c31f4
      https://github.com/llvm/llvm-project/commit/e002523b65b8ce337c2cbdcb84b97d435e0c31f4
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/test/X86/shrinkwrapping-restore-position.s
    A bolt/test/X86/unclaimed-jt-entries.s
    A bolt/test/runtime/X86/Inputs/unclaimed-jt-entries.c
    A bolt/test/runtime/X86/unclaimed-jt-entries.s

  Log Message:
  -----------
  [BOLT] Verify externally referenced blocks against jump table targets

For functions with references to internal offsets from data, verify externally
referenced blocks against the set of jump table targets. Mark the function
as non-simple if there are any unclaimed data to code references.

Reviewed By: #bolt, maksfb

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




More information about the All-commits mailing list