diff options
author | John McCall <rjmccall@apple.com> | 2012-05-01 05:23:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-05-01 05:23:51 +0000 |
commit | b91cd6687c3c4ca79fac16dbef0c991a185fa19e (patch) | |
tree | 451441c3acf24f01a2aec36a7361d68a7a175038 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 0eacda5f6997d7b691904d3eb555a3a47fa7361d (diff) | |
download | bcm5719-llvm-b91cd6687c3c4ca79fac16dbef0c991a185fa19e.tar.gz bcm5719-llvm-b91cd6687c3c4ca79fac16dbef0c991a185fa19e.zip |
Refactor the C++ ABI code a little bit to take advantage of
what I'm going to treat as basically universal properties of
array-cookie code. Implement MS array cookies on top of that.
Based on a patch by Timur Iskhodzhanov!
llvm-svn: 155886
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 38f5008d89a..bde03a7cedf 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -138,6 +138,7 @@ namespace CodeGen { union { unsigned char PointerAlignInBytes; unsigned char PointerSizeInBytes; + unsigned char SizeSizeInBytes; // sizeof(size_t) }; }; |