diff options
| author | Pavel Labath <pavel@labath.sk> | 2020-01-24 12:02:43 +0100 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2020-01-28 14:24:36 +0100 |
| commit | 54b022d344412fc9f1dfe37ee05de934a01e1ea4 (patch) | |
| tree | c6c2996b81f006a4fd4f43d41fc37bdf82c6280c /llvm/examples | |
| parent | 6472fec9a6998a2efd61137f90ace9f4c9dc76f1 (diff) | |
| download | bcm5719-llvm-54b022d344412fc9f1dfe37ee05de934a01e1ea4.tar.gz bcm5719-llvm-54b022d344412fc9f1dfe37ee05de934a01e1ea4.zip | |
[lldb] Fix nondeterminism in TestCppBitfields
The test was printing a char[3] variable without a terminating nul. The
memory after that variable (an unnamed bitfield) was not initialized. If
the memory happened to be nonzero, the summary provider for the variable
would run off into the next field.
This is probably not the right behavior (it should stop at the end of
the array), but this is not the purpose of this test. I have filed
pr44649 for this bug, and fixed the test to not depend on this behavior.
(cherry picked from commit 77cedb0cdb8623ff9eb22dbf3b9302ee4d9f8a20)
Diffstat (limited to 'llvm/examples')
0 files changed, 0 insertions, 0 deletions

