[PATCH] D119850: Darwin: introduce a global override for debug prefix map entries

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 16 08:35:52 PST 2022


aprantl added a comment.

In D119850#3326266 <https://reviews.llvm.org/D119850#3326266>, @thakis wrote:

> (I wish there was a flag that said "clang, never ever read any env vars please". Some people think that builds should be deterministic and not depend on random env vars people might have set (and then not do correct incremental rebuilds when the value of such env var flags change). But given that clang already reads a whole bunch of such env vars and we can always add such a flag later, I suppose this change doesn't make things that much worse.)

These are all good points. The environment variables are useful to side-step the many project-specific build systems that you have to deal with when building an entire OS and this is also the primary use-case here.


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

https://reviews.llvm.org/D119850



More information about the cfe-commits mailing list