[Lldb-commits] [PATCH] D72953: Fix the handling of unnamed bit-fields when parsing DWARF
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 24 03:22:09 PST 2020
labath added inline comments.
Comment at: lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/main.cpp:76
+ lbd.arr = 'b';
+ lbd.arr = 'c';
+ lbd.a = 5;
BTW, I've changed this to '\0' because the memory following this array is uninitialized, and that would confuse the the "const char *" pretty printer, which would continue to print the garbage after the array. The actual value of `arr` does not seem to be relevant for this test (I hope), but the pretty printer behavior is suboptimal, so I've filed pr44649 to track that.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits