diff options
author | Petr Hosek <phosek@google.com> | 2020-03-27 17:48:28 -0700 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2020-04-17 00:54:12 -0700 |
commit | 485862ecdac4a7c67c515da2e8af209d5c17d911 (patch) | |
tree | 6a4b5c7b577997d9194e4a027673899d3ec483d6 /llvm/lib/Support/CommandLine.cpp | |
parent | f88000a4b5226c590482e9c7cae9d861f59a7317 (diff) | |
download | llvm-485862ecdac4a7c67c515da2e8af209d5c17d911.zip llvm-485862ecdac4a7c67c515da2e8af209d5c17d911.tar.gz llvm-485862ecdac4a7c67c515da2e8af209d5c17d911.tar.bz2 |
[profile] Avoid duplicating or leaking VMO
Now that write data continously into the memory mapping, we don't need
to keep the VMO handle around after it has been mapped. This change also
ensures that the VMO is always closed on error.
Differential Revision: https://reviews.llvm.org/D76963
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions