diff options
| author | Matthias Braun <matze@braunis.de> | 2017-06-05 22:59:21 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-06-05 22:59:21 +0000 |
| commit | e89461a400bfed3f25b6fe1e9afec6ddb00f2fd6 (patch) | |
| tree | a5be4879ef858b4aaa1b5ae640c494e53f393558 /llvm/include | |
| parent | 9e5b5053d1b9d6ea4a1e2c7e7c59e637ed70b061 (diff) | |
| download | bcm5719-llvm-e89461a400bfed3f25b6fe1e9afec6ddb00f2fd6.tar.gz bcm5719-llvm-e89461a400bfed3f25b6fe1e9afec6ddb00f2fd6.zip | |
Remove some #include from StackProtector.h; NFC
llvm-svn: 304748
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/StackProtector.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/StackProtector.h b/llvm/include/llvm/CodeGen/StackProtector.h index b970de71f86..58e9733fdfb 100644 --- a/llvm/include/llvm/CodeGen/StackProtector.h +++ b/llvm/include/llvm/CodeGen/StackProtector.h @@ -19,18 +19,17 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/Triple.h" -#include "llvm/CodeGen/TargetPassConfig.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/ValueMap.h" #include "llvm/Pass.h" #include "llvm/Target/TargetLowering.h" -#include "llvm/Target/TargetMachine.h" namespace llvm { class Function; class Module; class PHINode; +class TargetMachine; class StackProtector : public FunctionPass { public: @@ -119,10 +118,7 @@ public: initializeStackProtectorPass(*PassRegistry::getPassRegistry()); } - void getAnalysisUsage(AnalysisUsage &AU) const override { - AU.addRequired<TargetPassConfig>(); - AU.addPreserved<DominatorTreeWrapperPass>(); - } + void getAnalysisUsage(AnalysisUsage &AU) const override; SSPLayoutKind getSSPLayout(const AllocaInst *AI) const; |

