[all-commits] [llvm/llvm-project] 7014a1: [profile] Skip mmap() if there are no counters
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Wed May 19 09:32:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7014a101614367e05cec1ba72a6be07eb173b304
https://github.com/llvm/llvm-project/commit/7014a101614367e05cec1ba72a6be07eb173b304
Author: Vedant Kumar <vsk at apple.com>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
A compiler-rt/test/profile/ContinuousSyncMode/image-with-no-counters.c
Log Message:
-----------
[profile] Skip mmap() if there are no counters
If there are no counters, an mmap() of the counters section would fail
due to the size argument being too small (EINVAL).
rdar://78175925
Differential Revision: https://reviews.llvm.org/D102735
More information about the All-commits
mailing list