[all-commits] [llvm/llvm-project] f30180: [lld] Enabling loading LLVM pass plugins

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Mar 23 14:19:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f3018068517e350f509b40f50207db25f80ff6fc
      https://github.com/llvm/llvm-project/commit/f3018068517e350f509b40f50207db25f80ff6fc
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M lld/tools/lld/CMakeLists.txt
    M lld/tools/lld/lld.cpp

  Log Message:
  -----------
  [lld] Enabling loading LLVM pass plugins

Add the relevant magic bits to allow "-mllvm=-load=plugin.so" etc.

This is now using export_executable_symbols_for_plugins, so symbols are
only exported if plugins are enabled.

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




More information about the All-commits mailing list