[all-commits] [llvm/llvm-project] e5e07b: [BOLT] Handle __uniq suffix added by -funique-inte...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Jan 20 19:23:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5e07b01d8cf507a6f7987e3006ed2ebc72a236f
      https://github.com/llvm/llvm-project/commit/e5e07b01d8cf507a6f7987e3006ed2ebc72a236f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M bolt/lib/Profile/DataReader.cpp
    M bolt/test/X86/lto-name-match.s

  Log Message:
  -----------
  [BOLT] Handle __uniq suffix added by -funique-internal-linkage-names

In profile matching, if `.__uniq` suffix added for internal linkage
symbols with `-funique-internal-linkage-names` prevents BOLT from
matching to a binary function, try to strip the suffix and perform
fuzzy name matching.

Follow-up to D124117.

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D142073




More information about the All-commits mailing list