[PATCH] D135914: [PseudoProbe] Decode offset based pseudo probe.

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 17:06:26 PDT 2022


maksfb added inline comments.


================
Comment at: llvm/include/llvm/MC/MCPseudoProbe.h:343
 
+  /// Whether encoding it based on a starting probe with absolute code address.
+  bool EncodingIsAddrBased = false;
----------------



================
Comment at: llvm/include/llvm/MC/MCPseudoProbe.h:360-361
+      const uint8_t *Start, std::size_t Size,
+      std::unordered_set<uint64_t> &GuildFilter,
+      const std::unordered_map<uint64_t, uint64_t> &FuncStartAddrs);
+
----------------
You probably want to use `DenseSet` and `DenseMap` for these and then use type aliases for the interface.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135914/new/

https://reviews.llvm.org/D135914



More information about the llvm-commits mailing list