[clang] [compiler-rt] [llvm] [InstrFDO][TypeProf] Implement binary instrumentation and profile read/write (PR #66825)

Snehasish Kumar via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 21:57:04 PST 2024


================
@@ -429,20 +439,36 @@ uint64_t ComputeHash(StringRef K);
 class InstrProfSymtab {
 public:
   using AddrHashMap = std::vector<std::pair<uint64_t, uint64_t>>;
+  using RangeHashMap =
----------------
snehasish wrote:

Hmm, it's a little strange to have HashMap in the name and the underlying data structure is a vector. How about something like `VTableAddrRanges`?

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


More information about the cfe-commits mailing list