[all-commits] [llvm/llvm-project] 487c78: [NFC]Do not use recursion for CounterMappingContex...

shen3qing1 via All-commits all-commits at lists.llvm.org
Fri Sep 22 09:05:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 487c784ef2b2b551a15be19f1e378fc0737611be
      https://github.com/llvm/llvm-project/commit/487c784ef2b2b551a15be19f1e378fc0737611be
  Author: shen3qing1 <145069838+shen3qing1 at users.noreply.github.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

  Log Message:
  -----------
  [NFC]Do not use recursion for CounterMappingContext::evaluate (#66961)

This causes stack overflows for real-world coverage reports.

Ran $ build/bin/llvm-lit -a llvm/test/tools/llvm-cov locally and passed.

Co-authored-by: Qing Shen <qingshen at google.com>




More information about the All-commits mailing list