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 | e2b45e2a43ae46bc00026b63ba7c04ef2b78c3ff (patch) | |
| tree | 8e567b4b7bc27ee09e141d3a383c8e66d48e49ff /lib/CodeGen/CodeGenModule.h | |
| parent | 95109d2eb6f3670e8558868429f2a622b05e7d4f (diff) | |
| download | clang-e2b45e2a43ae46bc00026b63ba7c04ef2b78c3ff.tar.gz clang-e2b45e2a43ae46bc00026b63ba7c04ef2b78c3ff.tar.bz2 clang-e2b45e2a43ae46bc00026b63ba7c04ef2b78c3ff.tar.xz | |
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!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 38f5008d89..bde03a7ced 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -138,6 +138,7 @@ namespace CodeGen { union { unsigned char PointerAlignInBytes; unsigned char PointerSizeInBytes; + unsigned char SizeSizeInBytes; // sizeof(size_t) }; }; |
