[all-commits] [llvm/llvm-project] 32012e: [ELF] Enable new passmanager plugin support for LTO

Jakob Koschel via All-commits all-commits at lists.llvm.org
Thu Mar 24 00:09:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32012eb11b235e1560a253664095676ea8ebd027
      https://github.com/llvm/llvm-project/commit/32012eb11b235e1560a253664095676ea8ebd027
  Author: Jakob Koschel <jakobkoschel at gmail.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/LTO.cpp
    M lld/ELF/Options.td
    M lld/test/CMakeLists.txt
    A lld/test/ELF/lto/ltopasses-extension.ll
    M lld/test/lit.cfg.py
    M lld/test/lit.site.cfg.py.in
    M llvm/examples/Bye/Bye.cpp

  Log Message:
  -----------
  [ELF] Enable new passmanager plugin support for LTO

Add cli options for new passmanager plugin support to lld.

Currently it is not possible to load dynamic NewPM plugins with lld. This is an
incremental update to D76866. While that patch only added cli options for
llvm-lto2, this adds them for lld as well. This is especially useful for running
dynamic plugins on the linux kernel with LTO.

Reviewed By: MaskRay

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




More information about the All-commits mailing list