diff options
| author | shafik <syaghmour@apple.com> | 2020-01-23 14:42:12 -0800 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2020-01-27 15:10:11 +0100 |
| commit | b5cf892651812003e64c4a8f0dbf81f74a499016 (patch) | |
| tree | db4ff10565697d63826611da6bd021238969cd18 /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile | |
| parent | 2c9cb89d0d00dc8669410a7d57ada11c5f7f8409 (diff) | |
| download | bcm5719-llvm-b5cf892651812003e64c4a8f0dbf81f74a499016.tar.gz bcm5719-llvm-b5cf892651812003e64c4a8f0dbf81f74a499016.zip | |
[LLDB] Fix the handling of unnamed bit-fields when parsing DWARF
We ran into an assert when debugging clang and performing an expression on a class derived from DeclContext. The assert was indicating we were getting the offsets wrong for RecordDeclBitfields. We were getting both the size and offset of unnamed bit-field members wrong. We could fix this case with a quick change but as I extended the test suite to include more combinations we kept finding more cases that were being handled incorrectly. A fix that handled all the new cases as well as the cases already covered required a refactor of the existing technique.
Differential Revision: https://reviews.llvm.org/D72953
(cherry picked from commit fcaf5f6c01a09f23b948afb8c91c4dd951d4525e)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile')
| -rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile new file mode 100644 index 00000000000..99998b20bcb --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/Makefile @@ -0,0 +1,3 @@ +CXX_SOURCES := main.cpp + +include Makefile.rules |

