aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit65bfc5f4f51365a57cf226f377910405e6b3ac39 (patch)
treee726ccfa20b9ac9ac658b9b2f7039ede5c23ac67 /include/llvm-c
parenta967def511718c391d4d93d24efa202f318fcf6e (diff)
downloadexternal_llvm-65bfc5f4f51365a57cf226f377910405e6b3ac39.zip
external_llvm-65bfc5f4f51365a57cf226f377910405e6b3ac39.tar.gz
external_llvm-65bfc5f4f51365a57cf226f377910405e6b3ac39.tar.bz2
Expose alignment and stack alignment attributes to llvm-c and ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 457436d..733b92c 100644
--- a/include/llvm-c/Core.h
+++ b/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 {