[PATCH] D86877: [Clang][Driver] Use full path to builtins in bare-metal toolchain

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 19:46:11 PDT 2020


phosek added a comment.

It's not clear why couldn't we support per-target runtime directory? It uses the standard multiarch layout, so in you'd end up using a directory like `[path/to/resource-dir]/lib/armv6m-unknown-eabi/libclang_rt.builtins.a`. I'd find this more preferable for consistency with other targets, it'd also enable the use of runtimes build for baremetal.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86877



More information about the cfe-commits mailing list