Index: include/llvm/Transforms/NaCl.h |
diff --git a/include/llvm/Transforms/NaCl.h b/include/llvm/Transforms/NaCl.h |
index c7c26b7fa9af2c2407602532910d98905c88ac91..29816ee7da228614879174499c5ee1e85ce28462 100644 |
--- a/include/llvm/Transforms/NaCl.h |
+++ b/include/llvm/Transforms/NaCl.h |
@@ -14,6 +14,14 @@ |
namespace llvm { |
+// XXX: move this to InitializePasses.h! |
+class PassRegistry; |
+void initializeExpandAllocasPass(PassRegistry&); |
+void initializeAllocateDataSegmentPass(PassRegistry&); |
+void initializeSandboxIndirectCallsPass(PassRegistry&); |
+void initializeSandboxMemoryAccessesPass(PassRegistry&); |
+void initializeStripTlsPass(PassRegistry&); |
+ |
class BasicBlockPass; |
class Function; |
class FunctionPass; |
@@ -36,6 +44,11 @@ FunctionPass *createPromoteIntegersPass(); |
FunctionPass *createRemoveAsmMemoryPass(); |
FunctionPass *createResolvePNaClIntrinsicsPass(); |
ModulePass *createAddPNaClExternalDeclsPass(); |
+ModulePass *createAllocateDataSegmentPass(); |
+ModulePass *createExpandAllocasPass(); |
+ModulePass *createSandboxIndirectCallsPass(); |
+ModulePass *createSandboxMemoryAccessesPass(); |
+ModulePass *createStripTlsPass(); |
ModulePass *createCanonicalizeMemIntrinsicsPass(); |
ModulePass *createExpandArithWithOverflowPass(); |
ModulePass *createExpandByValPass(); |