[lld] 03769d9 - [lld] Delete unused includes. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 10:56:53 PDT 2021


Author: Fangrui Song
Date: 2021-04-19T10:56:49-07:00
New Revision: 03769d9308fee79aa97149561bdbb6e3263789bd

URL: https://github.com/llvm/llvm-project/commit/03769d9308fee79aa97149561bdbb6e3263789bd
DIFF: https://github.com/llvm/llvm-project/commit/03769d9308fee79aa97149561bdbb6e3263789bd.diff

LOG: [lld] Delete unused includes. NFC

Added: 
    

Modified: 
    lld/tools/lld/lld.cpp

Removed: 
    


################################################################################
diff  --git a/lld/tools/lld/lld.cpp b/lld/tools/lld/lld.cpp
index 01605bc8be76e..39be1a0bd4edb 100644
--- a/lld/tools/lld/lld.cpp
+++ b/lld/tools/lld/lld.cpp
@@ -39,14 +39,8 @@
 #include "llvm/Support/InitLLVM.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/PluginLoader.h"
-#include "llvm/Support/Signals.h"
 #include <cstdlib>
 
-#if !defined(_MSC_VER) && !defined(__MINGW32__)
-#include <signal.h> // for raise
-#include <unistd.h> // for _exit
-#endif
-
 using namespace lld;
 using namespace llvm;
 using namespace llvm::sys;


        


More information about the llvm-commits mailing list