[all-commits] [llvm/llvm-project] 34323a: [lldb] Fix the lazy initialization of Module's glo...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Aug 6 22:21:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34323ab08e6eed2caff556ecdeae20053cbaaae7
      https://github.com/llvm/llvm-project/commit/34323ab08e6eed2caff556ecdeae20053cbaaae7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M lldb/source/Core/Module.cpp

  Log Message:
  -----------
  [lldb] Fix the lazy initialization of Module's global collections (NFC) (#214630)

Both collections were initialized with a check-then-set on a null
pointer, which is race-y. We can achieve the same thing by initializing
the pointer with the allocation, while retaining the leak.



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