[PATCH] D110663: [Driver] Support Debian multiarch style lib/clang/14.0.0/x86_64-linux-gnu runtime path

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 28 15:28:51 PDT 2021


MaskRay added a comment.

In D110663#3028811 <https://reviews.llvm.org/D110663#3028811>, @sylvestre.ledru wrote:

> just to make sure I understand, it will also update the install or "just" the dumpmachine option ?

If `LLVM_DEFAULT_TARGET_TRIPLE` is `x86_64-linux-gnu, `clang -dumpmachine` will still be the normalized (by `Driver.cpp:computeTargetTriple`) `x86_64-unknown-linux-gnu`.

This just affects the `lib/clang/14.0.0/x86_64-linux-gnu` detection which is used by `libclang_rt.builtins.a` (with `--rtlib=compiler-rt), and more common, asan/msan/etc runtime archives.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110663



More information about the cfe-commits mailing list