aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-09-03 18:56:14 +0200
committerRickard Green <[email protected]>2010-09-03 18:56:14 +0200
commitcac3a16a49d0ba8c4694d985b17403ac4456ade7 (patch)
tree78fa24b13a5878c622a8b8a2117b42fb4660728a /erts/doc/src
parente752dcdefda84291cf819036a600b983326dae25 (diff)
parentab64b20d32d9f496607d7a2d545194ad8d308956 (diff)
downloadotp-cac3a16a49d0ba8c4694d985b17403ac4456ade7.tar.gz
otp-cac3a16a49d0ba8c4694d985b17403ac4456ade7.tar.bz2
otp-cac3a16a49d0ba8c4694d985b17403ac4456ade7.zip
Merge branch 'rickard/valgrind-improvements/OTP-8760' into dev
* rickard/valgrind-improvements/OTP-8760: Build opt, debug and valgrind libraries as separate libraries Add erlang:system_info(build_type) Fix valgrind build
Diffstat (limited to 'erts/doc/src')
-rw-r--r--erts/doc/src/erlang.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 1eec45e0f3..cd3bcd3a07 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -5456,6 +5456,16 @@ true</pre>
<seealso marker="#system_info_allocator_tuple">erlang:system_info({allocator, Alloc})</seealso>.
</p>
</item>
+ <tag><c>build_type</c></tag>
+ <item>
+ <p>Returns an atom describing the build type of the runtime
+ system. This is normally the atom <c>opt</c> for optimized.
+ Other possible return values are <c>debug</c>, <c>purify</c>,
+ <c>quantify</c>, <c>purecov</c>, <c>gcov</c>, <c>valgrind</c>,
+ <c>gprof</c>, and <c>lcnt</c>. Possible return values
+ may be added and/or removed at any time without prior notice.
+ </p>
+ </item>
<tag><c>c_compiler_used</c></tag>
<item>
<p>Returns a two-tuple describing the C compiler used when