llvm-project
b4b150f8 - [PowerPC][clang] Fix triple constructor ambiguity causing "unknown" target triple on AIX (#147488)

Commit
162 days ago
[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@ibm.com> Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Author
Parents
Loading