[PATCH] D75012: [ReleaseNotes] Mention -fmacro-prefix-map and -ffile-prefix-map.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 22 13:13:45 PST 2020


MaskRay added inline comments.


================
Comment at: clang/docs/ReleaseNotes.rst:142
+- ``-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
----------------
It affects `__FILE__` (C99) `__BASE_FILE__` (GNU extension) and `__FILE_NAME__` (clang extension).

Should such change be committed directly to the release/10.x branch by @hans ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75012





More information about the cfe-commits mailing list