When the string passed to PrintCommandOutput doesn't end with a newline, written will exceed size and result in an lldbassert. After 8e776bb660dda6c51ce7ca6cea641db1f47aa9cf we don't really need written anymore and we can check whether str is empty instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo