[all-commits] [llvm/llvm-project] 7348d7: [MemProf] Avoid assertion checking loop under NDEB...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Wed May 7 21:20:23 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [MemProf] Avoid assertion checking loop under NDEBUG (NFC) (#138985)

Guard a loop that only exists to do assertion checking of stack ids on
memprof metadata so that it isn't compiled and executed under NDEBUG.
This is similar to how callsite metadata stack id verification is
guarded further below.



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