diff options
author | Shaw Young <58664393+shawbyoung@users.noreply.github.com> | 2024-06-29 21:19:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 21:19:00 -0700 |
commit | 49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2 (patch) | |
tree | 952bda545e14f45358909d1f32962a810e040cf8 /llvm/docs | |
parent | aec7670b5d6354b63b011c9ed0632b70983b0328 (diff) | |
download | llvm-49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2.zip llvm-49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2.tar.gz llvm-49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2.tar.bz2 |
[BOLT] Match functions with exact hash (#96572)
Added flag '--match-profile-with-function-hash' to match functions
based on exact hash. After identical and LTO name matching, more
functions can be recovered for inference with exact hash, in the case
of function renaming with no functional changes. Collisions are
possible in the unlikely case where multiple functions share the same
exact hash. The flag is off by default as it requires the processing of
all binary functions and subsequently is expensive.
Test Plan: added hashing-based-function-matching.test.
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/ReleaseNotes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index 7eafc49..a110671 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -372,6 +372,12 @@ Changes to the LLVM tools Changes to LLDB --------------------------------- +Changes to BOLT +--------------------------------- +* Now supports ``--match-profile-with-function-hash`` to match profiled and + binary functions with exact hash, allowing for the matching of renamed but + identical functions. + Changes to Sanitizers --------------------- |