[Lldb-commits] [PATCH] D111399: [lldb] Make char[N] formatters respect the end of the array (PR44649)
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 8 04:28:51 PDT 2021
labath added inline comments.
================
Comment at: lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp:42-43
+ //% self.expect_var_path("a.data", summary='"FOOB"')
+ // Should this be "FO\0B" instead?
+ //% self.expect_var_path("b.data", summary='"FO"')
}
----------------
This would be consistent with gdb as well, and it was the preferred result of last years irc straw poll, but it will require a different fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111399/new/
https://reviews.llvm.org/D111399
More information about the lldb-commits
mailing list