[clang] [compiler-rt] [llvm] [InstrFDO][TypeProf] Implement binary instrumentation and profile read/write (PR #66825)
    Mingming Liu via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar  5 22:09:29 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 =
+      std::vector<std::pair<std::pair<uint64_t, uint64_t>, uint64_t>>;
----------------
minglotus-6 wrote:
done, and making the struct definition private to class 'InstrProfSymtab'.
https://github.com/llvm/llvm-project/pull/66825
    
    
More information about the llvm-commits
mailing list