diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2013-02-20 21:11:20 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2013-02-20 21:11:20 +0000 |
| commit | c6a70063cb93d536160c3c48ecea003ebef0f52a (patch) | |
| tree | 73872e7592d8a0ccdc05baf459b01a8e1cd5a434 /lldb/source/Expression/RecordingMemoryManager.cpp | |
| parent | 7932c232bd2c0170409392ffe61222ab3605c923 (diff) | |
| download | bcm5719-llvm-c6a70063cb93d536160c3c48ecea003ebef0f52a.tar.gz bcm5719-llvm-c6a70063cb93d536160c3c48ecea003ebef0f52a.zip | |
Fix invalid TestBitfields case (thanks Filipe!), and xfail one case due to GCC compiler bug.
Turns out unnamed bit fields should not be accessed ever in C (C99 section 4.7.8) or C++
(C++11 section 9.6).
Unrelated to the above, this commit marks TestBitfields as expected-to-fail with GCC as 4.7
has problems with padding... the size of the struct with a uint32_t member is reported as 12
when GCC is used. Clang emits correct code.
Parts of this patch prepared by Filipe Cabecinhas!
llvm-svn: 175666
Diffstat (limited to 'lldb/source/Expression/RecordingMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions

