| commit | e3f105c651c88002f33df117b8f2c8f8ed003993 | [log] [tgz] |
|---|---|---|
| author | Philip Pfaffe <philip.pfaffe@gmail.com> | Sat Feb 02 23:19:32 2019 +0000 |
| committer | Philip Pfaffe <philip.pfaffe@gmail.com> | Sat Feb 02 23:19:32 2019 +0000 |
| tree | f09aac53089d33a63854a8cef4e7a4a7917783bf | |
| parent | c16cc77917052ea01c6faad888d990727ed3ce3a [diff] |
[NewPM] Add support for new-PM plugins to clang Summary: This adds support for new-PM plugin loading to clang. The option `-fpass-plugin=` may be used to specify a dynamic shared object file that adheres to the PassPlugin API. Tested: created simple plugin that registers an EP callback; with optimization level > 0, the pass is run as expected. Committed on behalf of Marco Elver Differential Revision: https://reviews.llvm.org/D56935 llvm-svn: 352972