moonpool/dev/ocaml/Debuginfo/index.html
2023-08-28 17:11:38 +00:00

2 lines
No EOL
7.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Debuginfo (ocaml.Debuginfo)</title><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">ocaml</a> &#x00BB; Debuginfo</nav><header class="odoc-preamble"><h1>Module <code><span>Debuginfo</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Scoped_location"><a href="#module-Scoped_location" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Scoped_location/index.html">Scoped_location</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-item"><a href="#type-item" class="anchor"></a><code><span><span class="keyword">type</span> item</span><span> = <span class="keyword">private</span> </span><span>{</span></code><ol><li id="type-item.dinfo_file" class="def record field anchored"><a href="#type-item.dinfo_file" class="anchor"></a><code><span>dinfo_file : string;</span></code></li><li id="type-item.dinfo_line" class="def record field anchored"><a href="#type-item.dinfo_line" class="anchor"></a><code><span>dinfo_line : int;</span></code></li><li id="type-item.dinfo_char_start" class="def record field anchored"><a href="#type-item.dinfo_char_start" class="anchor"></a><code><span>dinfo_char_start : int;</span></code></li><li id="type-item.dinfo_char_end" class="def record field anchored"><a href="#type-item.dinfo_char_end" class="anchor"></a><code><span>dinfo_char_end : int;</span></code></li><li id="type-item.dinfo_start_bol" class="def record field anchored"><a href="#type-item.dinfo_start_bol" class="anchor"></a><code><span>dinfo_start_bol : int;</span></code></li><li id="type-item.dinfo_end_bol" class="def record field anchored"><a href="#type-item.dinfo_end_bol" class="anchor"></a><code><span>dinfo_end_bol : int;</span></code></li><li id="type-item.dinfo_end_line" class="def record field anchored"><a href="#type-item.dinfo_end_line" class="anchor"></a><code><span>dinfo_end_line : int;</span></code></li><li id="type-item.dinfo_scopes" class="def record field anchored"><a href="#type-item.dinfo_scopes" class="anchor"></a><code><span>dinfo_scopes : <a href="Scoped_location/index.html#type-scopes">Scoped_location.scopes</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = <span><a href="#type-item">item</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-alloc_dbginfo_item"><a href="#type-alloc_dbginfo_item" class="anchor"></a><code><span><span class="keyword">type</span> alloc_dbginfo_item</span><span> = </span><span>{</span></code><ol><li id="type-alloc_dbginfo_item.alloc_words" class="def record field anchored"><a href="#type-alloc_dbginfo_item.alloc_words" class="anchor"></a><code><span>alloc_words : int;</span></code></li><li id="type-alloc_dbginfo_item.alloc_dbg" class="def record field anchored"><a href="#type-alloc_dbginfo_item.alloc_dbg" class="anchor"></a><code><span>alloc_dbg : <a href="#type-t">t</a>;</span></code></li></ol><code><span>}</span></code></div><div class="spec-doc"><p>Due to Comballoc, a single Ialloc instruction may combine several unrelated allocations. Their Debuginfo.t (which may differ) are stored as a list of alloc_dbginfo. This list is in order of increasing memory address, which is the reverse of the original allocation order. Later allocations are consed to the front of this list by Comballoc.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-alloc_dbginfo"><a href="#type-alloc_dbginfo" class="anchor"></a><code><span><span class="keyword">type</span> alloc_dbginfo</span><span> = <span><a href="#type-alloc_dbginfo_item">alloc_dbginfo_item</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-none"><a href="#val-none" class="anchor"></a><code><span><span class="keyword">val</span> none : <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_none"><a href="#val-is_none" class="anchor"></a><code><span><span class="keyword">val</span> is_none : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span><span class="keyword">val</span> to_string : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-from_location"><a href="#val-from_location" class="anchor"></a><code><span><span class="keyword">val</span> from_location : <span><a href="Scoped_location/index.html#type-t">Scoped_location.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_location"><a href="#val-to_location" class="anchor"></a><code><span><span class="keyword">val</span> to_location : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Location/index.html#type-t">Location.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-inline"><a href="#val-inline" class="anchor"></a><code><span><span class="keyword">val</span> inline : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span><span class="keyword">val</span> compare : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> int</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-hash"><a href="#val-hash" class="anchor"></a><code><span><span class="keyword">val</span> hash : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> int</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-print_compact"><a href="#val-print_compact" class="anchor"></a><code><span><span class="keyword">val</span> print_compact : <span><a href="../Stdlib/Format/index.html#type-formatter">Stdlib.Format.formatter</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div></div></body></html>