aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-10-08 07:50:29 +0200
committerJohn Högberg <[email protected]>2018-10-08 07:50:29 +0200
commite2a1ec914d9bec9f9310669df877601eed2f808d (patch)
tree287508f59246146dceb080060a5b120f97c4cf2c /lib/compiler/doc
parent3ea2ff5697d1ee53a31d7f0530692f49e9d0c516 (diff)
parent4312fba6cf15a41b7331c2309104dd82f29be9d6 (diff)
downloadotp-e2a1ec914d9bec9f9310669df877601eed2f808d.tar.gz
otp-e2a1ec914d9bec9f9310669df877601eed2f808d.tar.bz2
otp-e2a1ec914d9bec9f9310669df877601eed2f808d.zip
Merge branch 'maint'
* maint: compiler: Forward +source flag to epp and fix bug in +deterministic epp: Allow user to set source name independently of input file name
Diffstat (limited to 'lib/compiler/doc')
-rw-r--r--lib/compiler/doc/src/compile.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index f64986d55c..45e442f5c2 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -203,7 +203,8 @@
<tag><c>deterministic</c></tag>
<item>
<p>Omit the <c>options</c> and <c>source</c> tuples in
- the list returned by <c>Module:module_info(compile)</c>.
+ the list returned by <c>Module:module_info(compile)</c>, and
+ reduce the paths in stack traces to the module name alone.
This option will make it easier to achieve reproducible builds.
</p>
</item>
@@ -347,8 +348,8 @@ module.beam: module.erl \
<tag><c>{source,FileName}</c></tag>
<item>
- <p>Sets the value of the source, as returned by
- <c>module_info(compile)</c>.</p>
+ <p>Overrides the source file name as presented in
+ <c>module_info(compile)</c> and stack traces.</p>
</item>
<tag><c>{outdir,Dir}</c></tag>