summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2020-02-22 20:20:40 +0100
committerPeter Wu <peter@lekensteyn.nl>2020-02-27 15:11:47 +0100
commit6ff25fbe749efca9faf1fc0a9d30e51272ce0653 (patch)
tree75e0c0492085456df6713a4c6213f90e8b5e722e
parenta8684e93a347b5a7ecbb07bad40301f1699a813a (diff)
downloadbcm5719-llvm-6ff25fbe749efca9faf1fc0a9d30e51272ce0653.tar.gz
bcm5719-llvm-6ff25fbe749efca9faf1fc0a9d30e51272ce0653.zip
[ReleaseNotes] Mention -fmacro-prefix-map and -ffile-prefix-map.
Differential revision: https://reviews.llvm.org/D75012
-rw-r--r--clang/docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c9d0461b65a..d959791d75b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -151,6 +151,12 @@ New Compiler Flags
`-mcmodel=small` and `-mcmodel=medium` respectively. Preprocessor definitions
for `__riscv_cmodel_medlow` and `__riscv_cmodel_medany` have been corrected.
+- ``-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
-------------------------
OpenPOWER on IntegriCloud