Lekensteyn updated this revision to Diff 246413. Lekensteyn marked 2 inline comments as done. Lekensteyn added a comment.
Updated the comment based on @MaskRay's feedback, thanks! This (and the previous) patch were based on release/10.x, I plan to commit it later today since the final tag is tomorrow. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75012/new/ 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`` substitutes directory prefix ``OLD`` for + ``NEW`` in predefined preprocessor macros such as ``__FILE__``. 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`` substitutes directory prefix ``OLD`` for + ``NEW`` in predefined preprocessor macros such as ``__FILE__``. 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