summaryrefslogtreecommitdiff
path: root/libc/docs
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-11-30 09:33:06 -0600
committerJoseph Huber <jhuber6@vols.utk.edu>2022-11-30 09:33:40 -0600
commitdb923a610b03811f089f99f6624dd0aecbe48773 (patch)
tree1d15f1780beef9f2b8ac3549fad8f52fbb39cbe6 /libc/docs
parent3faab85c12bc1d96e144dcb6d8f75bcafa120c79 (diff)
downloadllvm-db923a610b03811f089f99f6624dd0aecbe48773.tar.gz
[libc][docs] Fix code block not being emitted
Diffstat (limited to 'libc/docs')
-rw-r--r--libc/docs/gpu_mode.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/docs/gpu_mode.rst b/libc/docs/gpu_mode.rst
index 1f34f7555d31..b95dba3184cf 100644
--- a/libc/docs/gpu_mode.rst
+++ b/libc/docs/gpu_mode.rst
@@ -90,6 +90,7 @@ Because the device code is stored inside a fat binary, it can be difficult to
inspect the resulting code. This can be done using the following utilities:
.. code-block:: sh
+
$> llvm-ar x libcgpu.a strcmp.cpp.o
$> clang-offload-packager strcmp.cpp.o --image=arch=gfx90a,file=gfx90a.bc
$> opt -S out.bc