Lekensteyn created this revision. Lekensteyn added reviewers: dankm, MaskRay, hans. Herald added a project: clang.
Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D75012 Files: clang/docs/ReleaseNotes.rst Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -138,6 +138,12 @@ please let us know if you encounter a situation where you need to specify this flag for correct program behavior. +- ``-fmacro-prefix-map=OLD=NEW`` allows a directory prefix ``OLD`` in + ``__FILE__`` preprocessor macros to be substituted for ``NEW``. This helps + with reproducible builds that are location independent. The new + ``-ffile-prefix-map`` option is equivalent to specifying both + ``-fdebug-prefix-map`` and ``-fmacro-prefix-map``. + Deprecated Compiler Flags -------------------------
Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -138,6 +138,12 @@ please let us know if you encounter a situation where you need to specify this flag for correct program behavior. +- ``-fmacro-prefix-map=OLD=NEW`` allows a directory prefix ``OLD`` in + ``__FILE__`` preprocessor macros to be substituted for ``NEW``. This helps + with reproducible builds that are location independent. The new + ``-ffile-prefix-map`` option is equivalent to specifying both + ``-fdebug-prefix-map`` and ``-fmacro-prefix-map``. + Deprecated Compiler Flags -------------------------
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits