diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-23 19:34:26 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-23 19:34:26 +0000 |
commit | a7d186c796455fd5fc400c4b06e4b70554b77353 (patch) | |
tree | 6034fdc4d98c1c12fe2fdffb238b4600260df494 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 869ef0a627952545437fab77c3b97854a189625b (diff) | |
download | bcm5719-llvm-a7d186c796455fd5fc400c4b06e4b70554b77353.tar.gz bcm5719-llvm-a7d186c796455fd5fc400c4b06e4b70554b77353.zip |
[Host] File::GetWaitableHandle() should call fileno()
If the file has m_stream, it may not have a m_descriptor.
GetWaitableHandle() should call GetDescriptor(), which will call
fileno(), so it will get waitable descriptor whenever one is available.
Patch by: Lawrence D'Anna
Differential revision: https://reviews.llvm.org/D67789
llvm-svn: 372644
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions