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

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 16 20:46:33 PST 2025


================
@@ -580,6 +596,31 @@ ELFDumper<ELFT>::dumpSections() {
     return Error::success();
   };
 
+  coverage::yaml::DecoderParam Param;
----------------
ornata wrote:

`coverage::yaml::DecoderParam` is only relevant when `covmap::Decoder::enabled` is true, right?

Would it make sense to sink all of this into the `if (covmap::Decoder::enabled)` part?

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


More information about the llvm-commits mailing list