[llvm] Introduce CovMap in ObjectYAML (PR #127432)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 05:07:29 PST 2025


================
@@ -21,6 +23,18 @@
 
 using namespace llvm;
 
+cl::OptionCategory ELFCat("ELF Options");
+
+static cl::opt<bool>
+    CovMapDetailed("covmap", cl::desc("Dump detailed YAML in Coverage Map."),
+                   cl::cat(ELFCat));
+static cl::opt<bool> CovMapRaw("covmap-raw",
+                               cl::desc("Dump raw YAML in Coverage Map."),
+                               cl::cat(ELFCat));
+static cl::opt<bool> CovMapDLoc("covmap-dloc",
+                                cl::desc("Prefer dLoc thatn absolute Loc."),
----------------
chapuni wrote:

Thanks. I'd like to assume users are developers and they can understand Loc and dLoc. I suppose they are developers' options.

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


More information about the llvm-commits mailing list