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

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 16 20:46:34 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."),
----------------
ornata wrote:

s/thatn/over

Recommend rephrasing to

> Prefer differential line numbers over absolute line numbers in dump.

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


More information about the llvm-commits mailing list