[PATCH] D51899: Remove extraneous ".a" suffix from baremetal clang_rt.builtins when compiling for baremetal.

Robert Widmann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 10 17:11:08 PDT 2018


CodaFi added a comment.

Two things:

- Please re-upload this path with with context (`git diff -U99999` or `arc patch`)
- This is one answer, but the real problem is that this path is halfway between an absolute path and a link-relative path.  We should be searching for these libraries relative to the resource directory and at absolute paths like the other platform's drivers do.  To that end, keep the ".a", but change the `l` to `lib` and see `MachO::AddLinkRuntimeLib` for how to add on the resource dir.


Repository:
  rC Clang

https://reviews.llvm.org/D51899





More information about the cfe-commits mailing list