[all-commits] [llvm/llvm-project] 7227b4: [clang][driver] Fix -print-target-triple OS versio...

Gábor Horváth via All-commits all-commits at lists.llvm.org
Thu Aug 15 02:05:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7227b44f928a87b5d7fb05bd1539fdfb6d4958dc
      https://github.com/llvm/llvm-project/commit/7227b44f928a87b5d7fb05bd1539fdfb6d4958dc
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/darwin-print-target-triple.c

  Log Message:
  -----------
  [clang][driver] Fix -print-target-triple OS version for apple targets (#104037)

The target needs to be initialized in order to compute the correct
target triple from the command line. Without initialized targets the OS
component of the triple might not reflect what would be computed by the
driver for an actual compiler invocation.

Fixes https://github.com/llvm/llvm-project/issues/61762



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