]> granicus.if.org Git - llvm/commit
[Support] MemoryBlock size should reflect the requested size
authorAndrew Ng <anng.sw@gmail.com>
Wed, 27 Mar 2019 10:26:21 +0000 (10:26 +0000)
committerAndrew Ng <anng.sw@gmail.com>
Wed, 27 Mar 2019 10:26:21 +0000 (10:26 +0000)
commita7d2ce067912933b66549f58c4d89bcb5dd15f30
treeb5e01f09861997ac08ec2306b9878c93dc75c5ce
parentfc9fa6d51453a7dede4e0dd19a9d4e4bb7898523
[Support] MemoryBlock size should reflect the requested size

This patch mirrors the change made to the Unix equivalent in
r351916. This in turn fixes bugs related to the use of FileOutputBuffer
to output to "-", i.e. stdout, on Windows.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357058 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Windows/Memory.inc