[all-commits] [llvm/llvm-project] 2f9ba6: LTO: Export functions referenced by non-canonical ...

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Tue Jun 8 15:07:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f9ba6aa8b6d805728b5df42b7b049b3c23d28a2
      https://github.com/llvm/llvm-project/commit/2f9ba6aa8b6d805728b5df42b7b049b3c23d28a2
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M llvm/lib/LTO/LTO.cpp
    A llvm/test/LTO/Resolution/X86/export-jumptable-noncanonical.ll

  Log Message:
  -----------
  LTO: Export functions referenced by non-canonical CFI jump tables

LowerTypeTests pass adds functions with a non-canonical jump table
to cfiFunctionDecls instead of cfiFunctionDefs. As the jump table
is in the regular LTO object, these functions will also need to be
exported. This change fixes the non-canonical jump table case and
adds a test similar to the existing one for canonical jump tables.

Reviewed By: pcc

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




More information about the All-commits mailing list