[all-commits] [llvm/llvm-project] bc1310: [lldb] Fix building for mingw after changes to sig...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sat Mar 26 13:34:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc13101cf945114f2b573aa66845bec9c20f4e48
      https://github.com/llvm/llvm-project/commit/bc13101cf945114f2b573aa66845bec9c20f4e48
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-03-26 (Sat, 26 Mar 2022)

  Changed paths:
    M lldb/tools/driver/Driver.cpp

  Log Message:
  -----------
  [lldb] Fix building for mingw after changes to sigtstp_handler

Some signal handlers were set up within an !_MSC_VER condition,
i.e. omitted in MSVC builds but included in mingw builds. Previously
sigtstp_handler was defined in all builds, but since
4bcadd66864bf4af929ac8753a51d7ad408cdef0 / D120320 it's only
defined non platforms other than Windows.

Change the condition to !_WIN32 for consistency between the MSVC
and mingw builds, fixing the build for mingw.

Differential Revision: https://reviews.llvm.org/D122486


  Commit: b548f5847235118878c15caa8df1b89e75fc965b
      https://github.com/llvm/llvm-project/commit/b548f5847235118878c15caa8df1b89e75fc965b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-03-26 (Sat, 26 Mar 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Utility/FileSpec.cpp
    M lldb/unittests/Utility/FileSpecTest.cpp

  Log Message:
  -----------
  [lldb] Fix interpreting absolute Windows paths with forward slashes

In practice, Windows paths can use either backslashes or forward slashes.

This fixes an issue reported downstream at
https://github.com/mstorsjo/llvm-mingw/issues/266.

Differential Revision: https://reviews.llvm.org/D122389


Compare: https://github.com/llvm/llvm-project/compare/34b547dfbf76...b548f5847235


More information about the All-commits mailing list