aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2014-07-23 10:55:33 +0100
committerMarcus Arendt <[email protected]>2014-09-19 14:28:49 +0200
commit47cd56007a9fb37576b32523408c5584f80429aa (patch)
treead8ac2e43d8d62ac83d2e46a8fd51ddd8f01ba23
parent6ec976bd70a657efea2d5d714e0d470aeb86bb50 (diff)
downloadotp-47cd56007a9fb37576b32523408c5584f80429aa.tar.gz
otp-47cd56007a9fb37576b32523408c5584f80429aa.tar.bz2
otp-47cd56007a9fb37576b32523408c5584f80429aa.zip
Add note about known issue with -Wrace_conditions
As noted on the erlang-bugs mailing list: http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html
-rw-r--r--lib/dialyzer/doc/src/dialyzer.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dialyzer/doc/src/dialyzer.xml b/lib/dialyzer/doc/src/dialyzer.xml
index 4e26a9e95e..e482b1e6f8 100644
--- a/lib/dialyzer/doc/src/dialyzer.xml
+++ b/lib/dialyzer/doc/src/dialyzer.xml
@@ -238,7 +238,10 @@
<item>Include warnings for functions that only return by means of an
exception.</item>
<tag><c><![CDATA[-Wrace_conditions]]></c>***</tag>
- <item>Include warnings for possible race conditions.</item>
+ <item>Include warnings for possible race conditions. Note that the
+ analysis that finds data races performs intra-procedural data flow analysis
+ and can sometimes explode in time. Enable it at your own risk.
+ </item>
<tag><c><![CDATA[-Wunderspecs]]></c>***</tag>
<item>Warn about underspecified functions
(the -spec is strictly more allowing than the success typing).</item>