[all-commits] [llvm/llvm-project] fb19aa: [CSSPGO][llvm-profgen] Fix an issue in findDisjoin...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Fri Jun 18 14:39:11 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb19aa0c74fdb864ddbd677a7b3585661966a098
https://github.com/llvm/llvm-project/commit/fb19aa0c74fdb864ddbd677a7b3585661966a098
Author: Hongtao Yu <hoy at fb.com>
Date: 2021-06-18 (Fri, 18 Jun 2021)
Changed paths:
M llvm/tools/llvm-profgen/ProfileGenerator.cpp
Log Message:
-----------
[CSSPGO][llvm-profgen] Fix an issue in findDisjointRanges
We were using 0 as an indicator of invalid offset when computing disjoint ranges. In reality, 0 can be an valid code offset which stands for the first function in .text section. I'm using UINT64_MAX as an invalid code offset instead.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D104497
More information about the All-commits
mailing list