Add shadow stack support to Dex compiler.
Change-Id: I8e188be3fb30c81e2a9e6e466264074ddf7b1624
diff --git a/src/compiler_llvm/ir_builder.h b/src/compiler_llvm/ir_builder.h
index e88073c..0762a0d 100644
--- a/src/compiler_llvm/ir_builder.h
+++ b/src/compiler_llvm/ir_builder.h
@@ -174,6 +174,8 @@
return getJLongTy();
}
+ llvm::StructType* getShadowFrameTy(uint32_t sirt_size);
+
//--------------------------------------------------------------------------
// Constant Value Helper Function
@@ -282,6 +284,8 @@
llvm::PointerType* jenv_type_;
+ llvm::StructType* art_frame_type_;
+
llvm::Function* runtime_support_func_decls_[runtime_support::MAX_ID];
};