[all-commits] [llvm/llvm-project] ea4864: [lldb] Fix 'ptsname_r' is only available on macOS ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu May 19 21:40:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4864007c72bfe1523013e28ceae4e391b66afc
      https://github.com/llvm/llvm-project/commit/ea4864007c72bfe1523013e28ceae4e391b66afc
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M lldb/source/Host/common/PseudoTerminal.cpp

  Log Message:
  -----------
  [lldb] Fix 'ptsname_r' is only available on macOS 10.13.4 or newer

A deployment target less than 10.13.4 causes an error saying that
'ptsname_r' is only available on macOS 10.13.4 or newer. The current
logic only checks if the symbol is available and doesn't account for the
deployment target. This patch fixes that by adding an availability
check.

Differential revision: https://reviews.llvm.org/D125995


  Commit: b9a30b69d814971de5bd90a134b17b5954a8a2b4
      https://github.com/llvm/llvm-project/commit/b9a30b69d814971de5bd90a134b17b5954a8a2b4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py

  Log Message:
  -----------
  [lldb] Update test_software_breakpoint_set_and_remove_work for AS

On Apple Silicon the platform arch is arm64 rather than AArch64.


Compare: https://github.com/llvm/llvm-project/compare/3e5b1e9ccfae...b9a30b69d814


More information about the All-commits mailing list