[all-commits] [llvm/llvm-project] a81a4b: [lldb] Fix building with lldb::once_flag != std::o...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Sep 12 12:27:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a81a4b2a7ac2d0b8195bb008b2c0f464cfbda223
      https://github.com/llvm/llvm-project/commit/a81a4b2a7ac2d0b8195bb008b2c0f464cfbda223
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M lldb/include/lldb/Core/SourceManager.h

  Log Message:
  -----------
  [lldb] Fix building with lldb::once_flag != std::once_flag

This fixes build breakage on e.g. mingw platforms since
ffa2f539ae2a4e79c01b3d54f8b12c63d8781a0c.

The Debugger::ReportWarning function takes a pointer to a
std::once_flag. On many platforms, llvm::once_flag is a typedef
for std::once_flag, but on others, llvm::once_flag is a custom
reimplementation.



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