[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
Tue Jan 28 09:51:27 PST 2025


================
@@ -197,9 +197,8 @@ struct PGOAnalysisMapEntry {
 
 struct FuncMapEntry {
   uint8_t Version;
-  llvm::yaml::Hex8 Feature;
   llvm::yaml::Hex64 Address;
-  llvm::yaml::Hex64 DynamicInstCount;
+  uint64_t DynamicInstCount;
----------------
rlavaee wrote:

Right. This is just a count. So there is no point in using the hex encoding in Yaml.

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


More information about the llvm-commits mailing list