[PATCH] D29875: Kaleidoscope-Ch7: Add missing transformutils to llvm-config params

Moritz Kroll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 09:04:30 PST 2017


mkroll created this revision.

TransformUtils is needed because of llvm::createPromoteMemoryToRegisterPass


https://reviews.llvm.org/D29875

Files:
  docs/tutorial/LangImpl07.rst


Index: docs/tutorial/LangImpl07.rst
===================================================================
--- docs/tutorial/LangImpl07.rst
+++ docs/tutorial/LangImpl07.rst
@@ -870,7 +870,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native transformutils` -O3 -o toy
     # Run
     ./toy
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29875.88139.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170212/16d23eaa/attachment.bin>


More information about the llvm-commits mailing list