[llvm] [SHT_LLVM_BB_ADDR_MAP] Add an option to skip emitting bb entries (PR #114447)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 22:48:36 PST 2024


================
@@ -161,6 +161,12 @@ static cl::bits<PGOMapFeaturesEnum> PgoAnalysisMapFeatures(
         "Enable extended information within the SHT_LLVM_BB_ADDR_MAP that is "
         "extracted from PGO related analysis."));
 
+static cl::opt<bool>
+    SkipEmitBBEntries("skip-emit-bb-entries",
----------------
rlavaee wrote:

I suggest `basic-block-address-map-skip-bb-entries` to spell out the relationship to the feature. Also please add the motivation in the description (e.g., binary size savings).

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


More information about the llvm-commits mailing list