[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
Tue Feb 15 08:28:45 PST 2022


aprantl created this revision.
aprantl added reviewers: dexonsmith, arphaman.
aprantl requested review of this revision.

This patch adds a new Darwin clang driver environment variable in the spirit of RC_DEBUG_OPTIONS, called RC_DEBUG_PREFIX_MAP, which allows a meta build tool to add one additional -fdebug-prefix-map entry without the knowledge of the build system.

rdar://85224675


https://reviews.llvm.org/D119850

Files:
  clang/include/clang/Driver/ToolChain.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/lib/Driver/ToolChains/Darwin.h
  clang/test/Driver/darwin-debug-prefix-map.c
  clang/test/Driver/darwin-debug-prefix-map.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119850.408883.patch
Type: text/x-patch
Size: 4794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/57684558/attachment.bin>


More information about the cfe-commits mailing list