[all-commits] [llvm/llvm-project] 3eed84: [profile] Fix bounds checks in profile merging (#1...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Dec 6 01:09:52 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3eed8479a895253307c6d87a38bb5acf314c6505
https://github.com/llvm/llvm-project/commit/3eed8479a895253307c6d87a38bb5acf314c6505
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingMerge.c
Log Message:
-----------
[profile] Fix bounds checks in profile merging (#118782)
These bounds checks work on the result of the pointer addition -- but
the pointer addition already asserts that no overflow may occur, so the
checks are optimized away after #118472. Avoid this by performing the
addition in a way that permits overflow.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list