[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:17:11 PST 2025


================
@@ -1027,6 +1027,44 @@ struct PGOAnalysisMap {
   }
 };
 
+// Struct representing the FuncMap for one function.
+struct FuncMap {
+
+  // Bitfield of optional features to control the extra information
+  // emitted/encoded in the the section.
+  struct Features {
----------------
rlavaee wrote:

+1. Let's add this Features bitfield once it's really needed. We can keep everything simple for now.

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


More information about the llvm-commits mailing list