aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2022-08-19 12:30:50 +0200
committerMichał Górny <mgorny@moritz.systems>2022-08-19 15:36:03 +0200
commitd6e1e01da949c8cb4b869cee1953cf19a6d072c0 (patch)
treee5ad2f2b475ff35e5390582954079908c55a60ee /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parent5146b57b403b3a512dc64e766695b13803ef3b54 (diff)
downloadllvm-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