HomePhabricator

Added initial unit test for LLDB's Stream class.

Authored by teemperor on Jul 31 2018, 11:04 PM.

Description

Added initial unit test for LLDB's Stream class.

Summary:
This adds an initial small unit test for LLDB's Stream class, which should at least cover
most of the functions in the Stream class. StreamString is always in big endian
mode, so that's the only stream byte order path this test covers as of now. Also,
the binary mode still needs to be tested for all print methods.

Also adds some FIXMEs for wrong/strange result values of the Stream class that we hit
while testing those functions.

Reviewers: labath

Reviewed By: labath

Subscribers: probinson, labath, mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D50027

llvm-svn: 338488

Details

Committed
teemperorJul 31 2018, 11:04 PM
Reviewer
labath
Differential Revision
D50027: Added initial unit test for LLDB's Stream class.
Parents
rG64e0c5671762: [DWARF] Basic support for producing DWARFv5 .debug_addr section
Branches
Unknown
Tags
Unknown