[all-commits] [llvm/llvm-project] 92d42b: Utility: ignore OS version on non-Darwin targets i...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Sep 23 18:21:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92d42b32a9b7a085fd200a56022724a77cf12a2d
      https://github.com/llvm/llvm-project/commit/92d42b32a9b7a085fd200a56022724a77cf12a2d
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M lldb/source/Utility/ArchSpec.cpp

  Log Message:
  -----------
  Utility: ignore OS version on non-Darwin targets in `ArchSpec`

The OS version field is generally not very helpful for non-Darwin
targets.  On Linux, it identifies the kernel version which moves
out-of-sync with the userspace.  On Windows, this field actually ends up
corresponding to the Visual Studio toolset version instead of the OS
version.  Consider non-Darwin targets without an OS version to be fully
specified.

Differential Revision: https://reviews.llvm.org/D88181
Reviewed By: Jonas Devlieghere, Dave Lee




More information about the All-commits mailing list