blob: f259dc7f0ce444c7e9c37082dd09fb60a8ee26de [file] [log] [blame] [edit]
<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Introduction &#8212; WebAssembly Custom Sections</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=057308f9" />
<script src="_static/documentation_options.js?v=7f41d439"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script>window.MathJax = {"tex": {"maxBuffer": 30720}}</script>
<script defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Binary Format" href="binary.html" />
<link rel="prev" title="WebAssembly Code Metadata" href="index.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
</head><body>
<div class="document">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="index.html">
<img class="logo" src="_static/webassembly.png" alt="Logo of WebAssembly-Metadata-Code"/>
</a></p><h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="binary.html">Binary Format</a></li>
<li class="toctree-l1"><a class="reference internal" href="text.html">Text Format</a></li>
</ul>
<hr />
<ul>
<li class="toctree-l1"><a href="./_download/WebAssembly-Metadata-Code.pdf">Download as PDF</a></li>
</ul>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="introduction">
<span id="intro"></span><h1>Introduction<a class="headerlink" href="#introduction" title="Link to this heading"></a></h1>
<p>This document defines a generic mechanism for attaching arbitrary metadata to WebAssembly instructions.
Additionally, it defines specific metadata formats using this mechanism.</p>
<p>Such metadata does not contribute to, or otherwise affect, the WebAssembly semantics, and may be ignored by an implementation.</p>
<p>However, it can provides useful information that implementations can make use of to improve user experience or take compilation hints.</p>
<section id="dependencies">
<h2>Dependencies<a class="headerlink" href="#dependencies" title="Link to this heading"></a></h2>
<p>This document is based on the WebAssembly core specification (<a class="reference external" href="https://webassembly.github.io/spec/core/">https://webassembly.github.io/spec/core/</a>), and makes use of
terms and definitions described there. These uses always link to the corresponding definition
in the core specification.</p>
</section>
</section>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2024, WebAssembly Community Group.
</div>
</body>
</html>