[all-commits] [llvm/llvm-project] b4b150: [PowerPC][clang] Fix triple constructor ambiguity ...
Tony Varghese via All-commits
all-commits at lists.llvm.org
Tue Jul 8 10:16:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b4b150f8c9a2c84a4831224b1209d1ca4824dbcb
https://github.com/llvm/llvm-project/commit/b4b150f8c9a2c84a4831224b1209d1ca4824dbcb
Author: Tony Varghese <tonypalampalliyil at gmail.com>
Date: 2025-07-08 (Tue, 08 Jul 2025)
Changed paths:
A clang/test/Driver/aix-default-target-triple.c
M llvm/lib/TargetParser/Unix/Host.inc
Log Message:
-----------
[PowerPC][clang] Fix triple constructor ambiguity causing "unknown" target triple on AIX (#147488)
PR #145685 introduced constructor overload ambiguity in the Triple
class, causing `updateTripleOSVersion()` to construct Triple objects
with `unknown` instead of the configured target triple (e.g.,
`powerpc-ibm-aix7.3.0.0`). This results in Clang driver errors like
`error: unknown target triple 'unknown'`.
Used `Twine` constructor with braced initialization to bypass ambiguity.
---------
Co-authored-by: Tony Varghese <tony.varghese at ibm.com>
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
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