[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 =
+ std::vector<std::pair<std::pair<uint64_t, uint64_t>, uint64_t>>;
----------------
snehasish wrote:
Can you change the element type to a structure with 3 elements? E.g. `struct { uint64_t Start, End, Md5Value }`;
https://github.com/llvm/llvm-project/pull/66825
More information about the cfe-commits
mailing list