)]}'
{
  "commit": "85e26a720daaf9f4f9e8a0eebf228abf4f4efc53",
  "tree": "a5a6479c43348699283abed72e44af288990f94b",
  "parents": [
    "ae168eefab8029712b3a2daa3588c05a407e5164",
    "8bc2d77647e9e45f99d5b26e2c253bf61032ab19"
  ],
  "author": {
    "name": "Jonathan Brouwer",
    "email": "jonathantbrouwer@gmail.com",
    "time": "Sun Nov 08 20:36:51 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Nov 08 20:36:51 2026 +0100"
  },
  "message": "Rollup merge of #165224 - Walnut356:batchmode_output, r\u003dKobzol\n\nEnsure all output is printed from lldb debugger tester\n\nFinally tracked down this down \u003d)\n\nThis solves 2 issues:\n\n1. some commands, especially `script` commands, would not have their output printed by lldb batchmode. This is apparently because `SBCommandReturnObject.HasResult()` only checks if there is an output *value*, and `script` does not \"return\" a value. We now also check if there is anything in the output file handle (`SBCommandReturnObject.GetOutputSize()`), and if so, we print it.\n2. I noticed in at least one PR, the `copy this to bless` output was cut off. We now make sure to flush all of the output handles. ~~Setting `lldb.debugger.SetAsync(False)` and explicitly flushing the stdout/stderr both individually fixed the issue from what I could tell, but doing both is preferable since we didn\u0027t want async mode on anyway.~~\n\nr? @Kobzol, @jieyouxu\n",
  "tree_diff": []
}
