phosek added a comment.

A potential solution would be to reintroduce the portion D101194 
<https://reviews.llvm.org/D101194> which would let each driver control the 
triple spelling (by overriding `getMultiarchTriple`. On Linux, including 
Debian, that logic is already implemented in 
https://github.com/llvm/llvm-project/blob/7255ce30e48feb07e4e82613f518683fbc247c1c/clang/lib/Driver/ToolChains/Linux.cpp#L40,
 and on all other platforms this could simply return `TargetTriple.str()` as 
was done in D101194 <https://reviews.llvm.org/D101194>.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110663/new/

https://reviews.llvm.org/D110663

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to