diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2019-02-07 18:46:25 +0000 |
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2019-02-07 18:46:25 +0000 |
| commit | 3a14249525235d9d2bcbc0e931759d083bcdb0d1 (patch) | |
| tree | 42fc3fd705c69cbddb24e36ace4dff518d8e6c78 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 1e6ba236083687e612d6805bd572e4ba16956c86 (diff) | |
[lldb-server] Improve support on Windows
Summary:
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 to work on Windows.
- Fix a bug in File::Write. This is intended to write data at an offset to a file
but actually writes at the current position of the file.
- Add a default boolean argument 'should_close_fd' to FileSystem::Open to
let the user decide whether to close the fd or not.
Reviewers: zturner, llvm-commits, labath
Reviewed By: zturner
Subscribers: Hui, labath, abidh, lldb-commits
Differential Revision: https://reviews.llvm.org/D56231
llvm-svn: 353446
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
