Re-apply r200853, which should not crash after Clang plugins were converted to loadable modules in r201256.