diff options
| author | Vedant Kumar <vsk@apple.com> | 2021-05-18 16:35:21 -0700 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2021-05-19 09:31:40 -0700 |
| commit | 7014a101614367e05cec1ba72a6be07eb173b304 (patch) | |
| tree | 0c5306f51e4341547b2924bb9f37b29fdd8182e1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 84ae1cf8edc00cbf02a7396fef256f39046c1e5b (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
