Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: native_client_sdk/doc_generated/devguide/devcycle/building.html

Issue 725333002: Initial draft of PNaCl bitcode files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/doc_generated/devguide/devcycle/building.html
diff --git a/native_client_sdk/doc_generated/devguide/devcycle/building.html b/native_client_sdk/doc_generated/devguide/devcycle/building.html
index 224318a0ae5f064972237ab753e4d94db6ca6fe1..3d96f7c984d32740e59b4c4e4abe155b2f87e1d8 100644
--- a/native_client_sdk/doc_generated/devguide/devcycle/building.html
+++ b/native_client_sdk/doc_generated/devguide/devcycle/building.html
@@ -24,20 +24,21 @@
<li><a class="reference internal" href="#compressing-the-pexe-for-deployment" id="id16">Compressing the <strong>pexe</strong> for deployment</a></li>
</ul>
</li>
-<li><p class="first"><a class="reference internal" href="#the-gnu-based-toolchains" id="id17">The GNU-based toolchains</a></p>
+<li><a class="reference internal" href="#objumping-pnacl-bitcode-files" id="id17">Objumping PNaCl Bitcode files</a></li>
+<li><p class="first"><a class="reference internal" href="#the-gnu-based-toolchains" id="id18">The GNU-based toolchains</a></p>
<ul class="small-gap">
-<li><a class="reference internal" href="#compiling" id="id18">Compiling</a></li>
-<li><a class="reference internal" href="#creating-libraries-and-linking" id="id19">Creating libraries and Linking</a></li>
-<li><a class="reference internal" href="#finalizing-a-nexe-for-deployment" id="id20">Finalizing a <strong>nexe</strong> for deployment</a></li>
+<li><a class="reference internal" href="#compiling" id="id19">Compiling</a></li>
+<li><a class="reference internal" href="#creating-libraries-and-linking" id="id20">Creating libraries and Linking</a></li>
+<li><a class="reference internal" href="#finalizing-a-nexe-for-deployment" id="id21">Finalizing a <strong>nexe</strong> for deployment</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#using-make" id="id21">Using make</a></li>
-<li><a class="reference internal" href="#libraries-and-header-files-provided-with-the-sdk" id="id22">Libraries and header files provided with the SDK</a></li>
-<li><p class="first"><a class="reference internal" href="#troubleshooting" id="id23">Troubleshooting</a></p>
+<li><a class="reference internal" href="#using-make" id="id22">Using make</a></li>
+<li><a class="reference internal" href="#libraries-and-header-files-provided-with-the-sdk" id="id23">Libraries and header files provided with the SDK</a></li>
+<li><p class="first"><a class="reference internal" href="#troubleshooting" id="id24">Troubleshooting</a></p>
<ul class="small-gap">
-<li><a class="reference internal" href="#undefined-reference-error" id="id24">&#8220;Undefined reference&#8221; error</a></li>
-<li><a class="reference internal" href="#can-t-find-libraries-containing-necessary-symbols" id="id25">Can&#8217;t find libraries containing necessary symbols</a></li>
-<li><a class="reference internal" href="#pnacl-abi-verification-errors" id="id26">PNaCl ABI Verification errors</a></li>
+<li><a class="reference internal" href="#undefined-reference-error" id="id25">&#8220;Undefined reference&#8221; error</a></li>
+<li><a class="reference internal" href="#can-t-find-libraries-containing-necessary-symbols" id="id26">Can&#8217;t find libraries containing necessary symbols</a></li>
+<li><a class="reference internal" href="#pnacl-abi-verification-errors" id="id27">PNaCl ABI Verification errors</a></li>
</ul>
</li>
</ul>
@@ -135,6 +136,8 @@ architecture-specific <strong>.nexe</strong> (e.g., for debugging purposes).</p>
<dd>Checks that the <strong>pexe</strong> follows the PNaCl ABI rules.</dd>
<dt>pnacl-ar</dt>
<dd>Creates archives (i.e., static libraries)</dd>
+<dt>pnacl-bcdis</dt>
+<dd>Objdumper for PNaCl bitcode files.</dd>
<dt>pnacl-clang</dt>
<dd>C compiler and compiler driver</dd>
<dt>pnacl-clang++</dt>
@@ -305,6 +308,16 @@ configured for HTTP compression: both compressions are complementary. You&#8217;
want to configure your web server to gzip <strong>pexe</strong> files: the gzipped version of
a compressed <strong>pexe</strong> file is smaller than the corresponding uncompressed
<strong>pexe</strong> file by 7.5% to 10%.</p>
+<h2 id="objumping-pnacl-bitcode-files"><span id="pnacl-bcdis"></span>Objumping PNaCl Bitcode files</h2>
+<p>Sometimes you may be interesting in the contents of a PNaCl bitcode
+file. The tool <code>pnacl-bcdis</code> objdumps the contents of a PNaCl
+bitcode file. For a description of the output produced by this tool,
+see <a class="reference internal" href="/native-client/reference/pnacl-bitcode-manual.html"><em>Contents Of PNaCl Bitcode Files</em></a>.</p>
+<pre>
+ nacl_sdk/pepper_&lt;version&gt;/toolchain/win_pnacl/bin/pnacl-bcdis \
+ hello_world.final.pexe
+</pre>
+<p>The output is the corresponding contents of the given <strong>pexe</strong>.</p>
<h2 id="the-gnu-based-toolchains">The GNU-based toolchains</h2>
<p>Besides the PNaCl toolchain, the Native Client SDK also includes modified
versions of the tools in the standard GNU toolchain, including the GCC

Powered by Google App Engine
This is Rietveld 408576698