[all-commits] [llvm/llvm-project] 0604d8: Darwin: introduce a global override for debug pref...

adrian-prantl via All-commits all-commits at lists.llvm.org
Wed Feb 16 08:36:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0604d86c07ab8a28b95df689aff4ddd26347f35f
      https://github.com/llvm/llvm-project/commit/0604d86c07ab8a28b95df689aff4ddd26347f35f
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

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

  Log Message:
  -----------
  Darwin: introduce a global override for debug prefix map entries.

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

Differential Revision: https://reviews.llvm.org/D119850




More information about the All-commits mailing list