summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-03 23:51:25 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-03 23:51:25 +0000
commit8f69feac47a571331fe8c5634842614910773390 (patch)
tree5d61f1dbc87bda139ecea774c2d0efeced2a8b58 /llvm/include/llvm-c
parent59d27fe597ff9c3a0b0be1a2020c422fd776bad6 (diff)
downloadbcm5719-llvm-8f69feac47a571331fe8c5634842614910773390.tar.gz
bcm5719-llvm-8f69feac47a571331fe8c5634842614910773390.zip
Expose alignment and stack alignment attributes to llvm-c and ocaml.
llvm-svn: 97682
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 457436d1219..733b92c57c8 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -112,11 +112,13 @@ typedef enum {
LLVMOptimizeForSizeAttribute = 1<<13,
LLVMStackProtectAttribute = 1<<14,
LLVMStackProtectReqAttribute = 1<<15,
+ LLVMAlignment = 31<<16,
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
LLVMNakedAttribute = 1<<24,
- LLVMInlineHintAttribute = 1<<25
+ LLVMInlineHintAttribute = 1<<25,
+ LLVMStackAlignment = 7<<26
} LLVMAttribute;
typedef enum {
OpenPOWER on IntegriCloud