[libc-commits] [libc] db923a6 - [libc][docs] Fix code block not being emitted

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Nov 30 07:33:52 PST 2022


Author: Joseph Huber
Date: 2022-11-30T09:33:40-06:00
New Revision: db923a610b03811f089f99f6624dd0aecbe48773

URL: https://github.com/llvm/llvm-project/commit/db923a610b03811f089f99f6624dd0aecbe48773
DIFF: https://github.com/llvm/llvm-project/commit/db923a610b03811f089f99f6624dd0aecbe48773.diff

LOG: [libc][docs] Fix code block not being emitted

Added: 
    

Modified: 
    libc/docs/gpu_mode.rst

Removed: 
    


################################################################################
diff  --git a/libc/docs/gpu_mode.rst b/libc/docs/gpu_mode.rst
index 1f34f7555d312..b95dba3184cfd 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 
diff icult 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


        


More information about the libc-commits mailing list