================ @@ -257,8 +257,8 @@ enum StopReason { }; /// Command Return Status Types. -enum ReturnStatus { - eReturnStatusInvalid, +enum ReturnStatus : int { ---------------- oontvoo wrote: This is needed to serialize the ReturnStatus from a command. https://github.com/llvm/llvm-project/pull/98528