Skip to content

Commit f40d359

Browse files
committed
tools: Remove unused PluginLoader includes
As far as I can tell there are 2 parallel plugin mechanisms. opt -load=plugin does not work, and is ignored. opt -load-pass-plugin does work. The only user of PluginLoader appears to be bugpoint.
1 parent 0eaca04 commit f40d359

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "llvm/ADT/StringSet.h"
2323
#include "llvm/Support/CommandLine.h"
2424
#include "llvm/Support/InitLLVM.h"
25-
#include "llvm/Support/PluginLoader.h"
2625
#include "llvm/Support/Process.h"
2726
#include "llvm/Support/Signals.h"
2827
#include "llvm/Support/TargetSelect.h"

lld/tools/lld/lld.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "llvm/Support/CrashRecoveryContext.h"
3636
#include "llvm/Support/LLVMDriver.h"
3737
#include "llvm/Support/Path.h"
38-
#include "llvm/Support/PluginLoader.h"
3938
#include "llvm/Support/Process.h"
4039
#include "llvm/TargetParser/Host.h"
4140
#include "llvm/TargetParser/Triple.h"

llvm/tools/llc/llc.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include "llvm/Support/FileSystem.h"
4545
#include "llvm/Support/FormattedStream.h"
4646
#include "llvm/Support/InitLLVM.h"
47-
#include "llvm/Support/PluginLoader.h"
4847
#include "llvm/Support/SourceMgr.h"
4948
#include "llvm/Support/TargetSelect.h"
5049
#include "llvm/Support/TimeProfiler.h"

llvm/tools/lli/lli.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
#include "llvm/Support/Memory.h"
6060
#include "llvm/Support/MemoryBuffer.h"
6161
#include "llvm/Support/Path.h"
62-
#include "llvm/Support/PluginLoader.h"
6362
#include "llvm/Support/Process.h"
6463
#include "llvm/Support/Program.h"
6564
#include "llvm/Support/SourceMgr.h"

llvm/tools/llvm-lto2/llvm-lto2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "llvm/Support/CommandLine.h"
2626
#include "llvm/Support/FileSystem.h"
2727
#include "llvm/Support/InitLLVM.h"
28-
#include "llvm/Support/PluginLoader.h"
2928
#include "llvm/Support/TargetSelect.h"
3029
#include "llvm/Support/Threading.h"
3130
#include <atomic>

llvm/tools/opt/optdriver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#include "llvm/Support/ErrorHandling.h"
4444
#include "llvm/Support/FileSystem.h"
4545
#include "llvm/Support/InitLLVM.h"
46-
#include "llvm/Support/PluginLoader.h"
4746
#include "llvm/Support/SourceMgr.h"
4847
#include "llvm/Support/SystemUtils.h"
4948
#include "llvm/Support/TargetSelect.h"

0 commit comments

Comments
 (0)