[llvm] [SHT_LLVM_FUNC_MAP][ObjectYaml]Introduce function address map section and emit dynamic instruction count(ObjectYaml part) (PR #124332)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 12:18:04 PST 2025


================
@@ -195,6 +195,13 @@ struct PGOAnalysisMapEntry {
   std::optional<std::vector<PGOBBEntry>> PGOBBEntries;
 };
 
+struct FuncMapEntry {
+  uint8_t Version;
+  llvm::yaml::Hex8 Feature;
+  llvm::yaml::Hex64 Address;
+  llvm::yaml::Hex64 DynamicInstCount;
----------------
rlavaee wrote:

This can be a plain integer.

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


More information about the llvm-commits mailing list