llvm-project/llvm/lib/Support/Windows
Bob Haarman c6bb9380e0 [support] allocate exact size required for mapping in Support/Windws/Path.inc
Summary:
zturner suggested that mapped_file_region::init() on Windows seems to
create mappings that are larger than they need to be: Offset+Size
instead of Size. Indeed, that appears to be the case. I confirmed that
tests pass with mappings of just Size bytes, and fail with Size-1
bytes, suggesting that Size is indeed the correct value.

Reviewers: amccarth, zturner

Reviewed By: zturner

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D39876

llvm-svn: 317850
2017-11-10 00:17:31 +00:00
..
COM.inc
DynamicLibrary.inc Allow clients to specify search order of DynamicLibraries. 2017-07-12 21:22:45 +00:00
Host.inc Update the Windows version of updateTripleOSVersion to account for 2017-07-07 10:08:52 +00:00
Memory.inc
Mutex.inc Remove more name space pollution from .inc files 2017-03-31 14:26:44 +00:00
Path.inc [support] allocate exact size required for mapping in Support/Windws/Path.inc 2017-11-10 00:17:31 +00:00
Process.inc [Support] env vars with empty values on windows 2017-08-18 16:55:44 +00:00
Program.inc Convenience/safety fix for llvm::sys::Execute(And|No)Wait 2017-09-13 17:03:37 +00:00
RWMutex.inc Remove more name space pollution from .inc files 2017-03-31 14:26:44 +00:00
Signals.inc Support: WOA64 and WOA Signals 2017-08-03 23:12:33 +00:00
ThreadLocal.inc Remove more name space pollution from .inc files 2017-03-31 14:26:44 +00:00
Threading.inc Fix C2712 build error on Windows 2017-03-07 20:09:46 +00:00
Watchdog.inc
WindowsSupport.h Fix one place where I missed a commented requirement for a particular 2017-06-06 12:11:24 +00:00
explicit_symbols.inc