[all-commits] [llvm/llvm-project] f263a6: [BOLT] Split functions with exceptions in shared o...

maksfb via All-commits all-commits at lists.llvm.org
Sun Jun 19 16:49:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f263a66ba0125f4fbe06c0a5e0b0c193998b74db
      https://github.com/llvm/llvm-project/commit/f263a66ba0125f4fbe06c0a5e0b0c193998b74db
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-06-19 (Sun, 19 Jun 2022)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/include/bolt/Passes/SplitFunctions.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/MCPlusBuilder.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/runtime/X86/Inputs/exceptions_split.cpp
    A bolt/test/runtime/X86/pie-exceptions-split.test

  Log Message:
  -----------
  [BOLT] Split functions with exceptions in shared objects and PIEs

Add functionality to allow splitting code with C++ exceptions in shared
libraries and PIEs. To overcome a limitation in exception ranges format,
for functions with fragments spanning multiple sections, add trampoline
landing pads in the same section as the corresponding throwing range.

Reviewed By: Amir

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




More information about the All-commits mailing list