diff options
author | Michał Górny <mgorny@moritz.systems> | 2022-08-19 12:30:50 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2022-08-19 15:36:03 +0200 |
commit | d6e1e01da949c8cb4b869cee1953cf19a6d072c0 (patch) | |
tree | e5ad2f2b475ff35e5390582954079908c55a60ee /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 5146b57b403b3a512dc64e766695b13803ef3b54 (diff) | |
download | llvm-d6e1e01da949c8cb4b869cee1953cf19a6d072c0.zip llvm-d6e1e01da949c8cb4b869cee1953cf19a6d072c0.tar.gz llvm-d6e1e01da949c8cb4b869cee1953cf19a6d072c0.tar.bz2 |
[lldb] [Core] Harmonize Communication::Read() returns w/ thread
Harmonize the status and error values of Communication::Read() when
running with and without read thread. Prior to this change, Read()
would return eConnectionStatusSuccess if read thread was enabled
and the read timed out or reached end-of-file, rather than
the respective states that are returned if read thread was disabled.
Now, it correctly returns eConnectionStatusTimedOut
and eConnectionStatusEndOfFile, and sets the error respectively.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D132217
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions