[LLVMdev] [PATCH] Link in codegen components in llvm-c

Jonathan Bastien-Filiatrault joe at x2a.org
Fri Sep 12 16:06:33 PDT 2008


This allows the use of shadow stack from the llvm-c API.
I am not sure this is the place to insert the include, though.


Index: include/llvm-c/ExecutionEngine.h
===================================================================
--- include/llvm-c/ExecutionEngine.h	(revision 56175)
+++ include/llvm-c/ExecutionEngine.h	(working copy)
@@ -24,6 +24,7 @@
 
 #ifdef __cplusplus
 extern "C" {
+#include "llvm/LinkAllCodegenComponents.h"
 #endif
 
 typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef;


Cheers,
Jonathan



More information about the llvm-dev mailing list