[llvm-branch-commits] [llvm] [sancov][NFC] Improve -union performance of sancov utility / Read a coverage file into an existing address set (2/3) (PR #238755)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 4 09:46:20 PST 2026


================
@@ -1121,16 +1130,12 @@ static void unionRawCoverage(const std::vector<std::string> &InputFiles,
   const FileHeader &UnionHeader = UnionCov.get()->Header;
 
   for (size_t I = 1; I < InputFiles.size(); ++I) {
----------------
vitalybuka wrote:

I guess here you want to skip allocation, if you can measure per difference it's not NFC.
And description should focus on that.

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


More information about the llvm-branch-commits mailing list