[all-commits] [llvm/llvm-project] d52866: [lldb] Stop forwarding LLDB_DEFAULT_PYTHON_VERSION...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Feb 14 12:18:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d52866e1a82dab57ad1b58a8bf21ca63eae2e155
      https://github.com/llvm/llvm-project/commit/d52866e1a82dab57ad1b58a8bf21ca63eae2e155
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M lldb/examples/python/crashlog.py

  Log Message:
  -----------
  [lldb] Stop forwarding LLDB_DEFAULT_PYTHON_VERSION in crashlog

Support for Python 2 was removed in Xcode 13.

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


  Commit: 343662a0287845eceba068df6ce59eddcbe7beb1
      https://github.com/llvm/llvm-project/commit/343662a0287845eceba068df6ce59eddcbe7beb1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M lldb/examples/python/crashlog.py

  Log Message:
  -----------
  [crashlog] Change heuristic to stripping the meta data from crashlogs

Instead trying to pro-actively determine if the first line in a
crashlog contains meta data, change the heuristic to do the following:

 1. To trying to parse the whole file. If that fails, then:
 2. Strip the first line and try parsing the remainder of the file. If
    that fails, then:
 3. Fall back to the textual crashlog parser.

rdar://88580543

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


Compare: https://github.com/llvm/llvm-project/compare/6c4052166c02...343662a02878


More information about the All-commits mailing list