[all-commits] [llvm/llvm-project] 485862: [profile] Avoid duplicating or leaking VMO
Petr Hosek via All-commits
all-commits at lists.llvm.org
Fri Apr 17 00:54:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 485862ecdac4a7c67c515da2e8af209d5c17d911
https://github.com/llvm/llvm-project/commit/485862ecdac4a7c67c515da2e8af209d5c17d911
Author: Petr Hosek <phosek at google.com>
Date: 2020-04-17 (Fri, 17 Apr 2020)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
Log Message:
-----------
[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
More information about the All-commits
mailing list