[PATCH] D77704: [LTO][gold] Add support for loading pass plugins

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 10:45:03 PDT 2020


ddcc added a comment.

> Alright, is it feasible to add small tests or provide instructions on how you would load an example pass?

Sure, I'm just not sure how to fit this into the testing infrastructure. I don't think this could work with any of the FileCheck-based test I'd need to build a separate pass and load the binary? I can also modify the `GoldPlugin.rst` to mention these arguments for loading passes? Ideally though, it would be pretty transparent; once the Clang driver changes land, there'd be no difference compared to loading a regular LLVM pass.

Do you have suggestions for any other reviewers?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77704/new/

https://reviews.llvm.org/D77704





More information about the llvm-commits mailing list