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

Unified Diff: native_client_sdk/src/doc/devguide/devcycle/building.rst

Issue 725333002: Initial draft of PNaCl bitcode files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issues in patch set 3. 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
« no previous file with comments | « native_client_sdk/src/doc/_book.yaml ('k') | native_client_sdk/src/doc/images/PNaClBitcodeFlow.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/devguide/devcycle/building.rst
diff --git a/native_client_sdk/src/doc/devguide/devcycle/building.rst b/native_client_sdk/src/doc/devguide/devcycle/building.rst
index 3d94758ec89ec4044c9fec793e766a3cef341f4a..1c718555a8f9742be266ac8d8ec4ce72768621a5 100644
--- a/native_client_sdk/src/doc/devguide/devcycle/building.rst
+++ b/native_client_sdk/src/doc/devguide/devcycle/building.rst
@@ -138,27 +138,29 @@ architecture-specific **.nexe** (e.g., for debugging purposes).
Some of the useful tools include:
-pnacl-abicheck
+``pnacl-abicheck``
Checks that the **pexe** follows the PNaCl ABI rules.
-pnacl-ar
+``pnacl-ar``
Creates archives (i.e., static libraries)
-pnacl-clang
+``pnacl-bcdis``
+ Object dumper for PNaCl bitcode files.
+``pnacl-clang``
C compiler and compiler driver
-pnacl-clang++
+``pnacl-clang++``
C++ compiler and compiler driver
-pnacl-compress
+``pnacl-compress``
Compresses a finalized **pexe** file for deployment.
-pnacl-dis
+``pnacl-dis``
Disassembler for both **pexe** files and **nexe** files
-pnacl-finalize
+``pnacl-finalize``
Finalizes **pexe** files for deployment
-pnacl-ld
+``pnacl-ld``
Bitcode linker
-pnacl-nm
+``pnacl-nm``
Lists symbols in bitcode files, native code, and libraries
-pnacl-ranlib
+``pnacl-ranlib``
Generates a symbol table for archives (i.e., static libraries)
-pnacl-translate
+``pnacl-translate``
Translates a **pexe** to a native architecture, outside of the browser
For the full list of tools, see the
@@ -366,6 +368,24 @@ want to configure your web server to gzip **pexe** files: the gzipped version of
a compressed **pexe** file is smaller than the corresponding uncompressed
**pexe** file by 7.5% to 10%.
+.. _pnacl-bcdis:
+
+Object dumping of PNaCl bitcode files
+=====================================
+
+Sometimes you may be interesting in the contents of a PNaCl bitcode file. The
+tool ``pnacl-bcdis`` object dumps the contents of a PNaCl bitcode file. For a
+description of the output produced by this tool, see
+:doc:`/reference/pnacl-bitcode-manual`.
+
+.. naclcode::
+ :prettyprint: 0
+
+ nacl_sdk/pepper_<version>/toolchain/win_pnacl/bin/pnacl-bcdis \
+ hello_world.final.pexe
+
+The output is the corresponding contents of the given **pexe**.
+
The GNU-based toolchains
========================
« no previous file with comments | « native_client_sdk/src/doc/_book.yaml ('k') | native_client_sdk/src/doc/images/PNaClBitcodeFlow.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698