[all-commits] [llvm/llvm-project] 8ac6a6: Reorder fields so InitDeferredFlag is destroyed last

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Thu Jan 9 09:35:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ac6a6b81629840d2456e32ec4651440523718dc
      https://github.com/llvm/llvm-project/commit/8ac6a6b81629840d2456e32ec4651440523718dc
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M llvm/lib/Support/Timer.cpp

  Log Message:
  -----------
  Reorder fields so InitDeferredFlag is destroyed last

TimerGroup's dtor accesses this field.

once_flag has a trivial destructor so it doesn't really matter, but msan
checks that it's not accessed after destruction.



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