[all-commits] [llvm/llvm-project] c52668: [MemProf] Simplify unittest save and restore of op...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Thu May 8 10:57:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c526683c7f2cf94c9e3a55cc810a0bb90e68c646
      https://github.com/llvm/llvm-project/commit/c526683c7f2cf94c9e3a55cc810a0bb90e68c646
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  Log Message:
  -----------
  [MemProf] Simplify unittest save and restore of options (#139117)

Address post-commit review feedback for PR139092 (and fix another
instance of the same code). Save and restore option values via a saved
bool value, instead of invoking cl::ResetAllOptionOccurrences.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list