[llvm] [BOLT] Use symbol table info in registerFragment (PR #89648)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 19:51:49 PDT 2024


================
@@ -28,10 +28,23 @@ class NameResolver {
   static constexpr char Sep = '/';
 
 public:
+  /// Return the counter for a given \p Name.
+  uint64_t getCounter(StringRef Name) const {
----------------
maksfb wrote:

`getUniquifiedNameCount()`?

https://github.com/llvm/llvm-project/pull/89648


More information about the llvm-commits mailing list