[all-commits] [llvm/llvm-project] 4c1451: [BOLT] LongJmp: Check for shouldEmit

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Thu Mar 31 12:34:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c14519ecbba54870553611ed34dbec596e1f7e7
      https://github.com/llvm/llvm-project/commit/4c14519ecbba54870553611ed34dbec596e1f7e7
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Passes/LongJmp.cpp

  Log Message:
  -----------
  [BOLT] LongJmp: Check for shouldEmit

Check that the function will be emitted in the final binary. Preserving
old function address is needed in case it is PLT trampiline, that is
currently not moved by the BOLT.

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




More information about the All-commits mailing list