[PATCH] D45639: [Driver] Support default libc++ library location on Darwin

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 25 11:37:39 PDT 2018


phosek added a comment.

In https://reviews.llvm.org/D45639#1068086, @compnerd wrote:

> I'm not sure I understand this.  The proper location for libc++ on the darwin layout is in the SDK, not relative to the driver.  The default behaviour is similar to cross-compiling, and with a (derived) SDK.  This definitely needs to be reviewed by @dexonsmith


Yes, but the location of libc++ headers on Darwin is always relative to the driver. How do you then ensure the consistency between the libc++ library and headers when using your own build of Clang?


Repository:
  rC Clang

https://reviews.llvm.org/D45639





More information about the cfe-commits mailing list