dexonsmith added a subscriber: arphaman.
dexonsmith added a comment.

I’m not at Apple anymore, but this is a long-standing platform decision that is 
intentional and seems unlikely to change. Note that `/usr/bin/clang` isn’t 
really clang, but a tool called `xcrun` which adds environment variables to 
help find a default SDK before executing `/path/to/toolchain/usr/bin/clang`.

When the driver is called directly it expects the build system to provide the 
appropriate SDK. There are situations where it could cause a problem for the 
driver to hunt around tor arbitrary SDKs.

If you still want to pursue this, @arphaman might be able to help find someone 
in a position to consider the impact / policy.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129446

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D129446: [... Tobias Hieta via Phabricator via cfe-commits
    • [PATCH] D1294... Tobias Hieta via Phabricator via cfe-commits
    • [PATCH] D1294... Duncan P. N. Exon Smith via Phabricator via cfe-commits

Reply via email to