Embedded nul characters are still printed, and they don't terminate the
string. See also D111634.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120803
[lldb] Don't print *trailing* nuls in char arrays ClosedPublic Authored by labath on Mar 2 2022, 2:00 AM.
Details Summary Embedded nul characters are still printed, and they don't terminate the
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 2 2022, 7:46 AM Closed by commit rGacf77bd2fd90: [lldb] Don't print *trailing* nuls in char arrays (authored by labath). · Explain WhyMar 9 2022, 5:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 414079 lldb/source/Core/ValueObject.cpp
lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_const_value.s
|