[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-02-07 Thread Aaron Smith via Phabricator via lldb-commits
asmith updated this revision to Diff 185817. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56231/new/ https://reviews.llvm.org/D56231 Files: include/lldb/Host/File.h include/lldb/Host/FileSystem.h source/Host/common/File.cpp source/Host/common/FileSystem.cpp source/Plugins/Proc

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-02-07 Thread Aaron Smith via Phabricator via lldb-commits
asmith added a comment. Any other comments on this one? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56231/new/ https://reviews.llvm.org/D56231 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-01-09 Thread Aaron Smith via Phabricator via lldb-commits
asmith updated this revision to Diff 180992. asmith added a comment. Added lock suggested in review CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56231/new/ https://reviews.llvm.org/D56231 Files: include/lldb/Host/File.h include/lldb/Host/FileSystem.h source/Host/common/File.cpp

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-01-07 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: source/Host/common/File.cpp:606-607 #else long cur = ::lseek(m_descriptor, 0, SEEK_CUR); +SeekFromStart(offset); error = Write(buf, num_bytes); Be careful here. `pwrite` on posix is atomic, which means th

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-01-04 Thread Hui Huang via Phabricator via lldb-commits
Hui added a comment. With all the aaron's pending reviews on lldb-server, I could try the patch with the following platform apis. Seems to me is working on Windows and no regression on Linux side. Some difference (performance) might be (1) Previous, the vfile:write packet has a maximum as 102

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-01-03 Thread Pavel Labath via Phabricator via lldb-commits
labath added a reviewer: labath. labath added a comment. Nice to see some action on the lldb-server for windows front. It looks like it should be easy to add a unit test for the File::Write bug you fixed. Can you add something like that? Repository: rLLDB LLDB CHANGES SINCE LAST ACTION ht

[Lldb-commits] [PATCH] D56231: [lldb-server] Improve support on Windows

2019-01-02 Thread Aaron Smith via Phabricator via lldb-commits
asmith created this revision. asmith added reviewers: zturner, llvm-commits. Herald added subscribers: lldb-commits, abidh. This commit contains the following changes: - Rewrite vfile close/read/write packet handlers with portable routines from lldb. This removes #if(s) and allows the handlers t