aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-08-27 20:31:44 +0000
committerLang Hames <lhames@gmail.com>2015-08-27 20:31:44 +0000
commitd76e06715056710199bb74b4582e9c343a252aeb (patch)
tree2b38d78b6a77bbf4c08f576a8844583cef78f61d /llvm/docs/tutorial
parenta79dfb3223289498498f695e0b2d248031b00766 (diff)
downloadllvm-d76e06715056710199bb74b4582e9c343a252aeb.zip
llvm-d76e06715056710199bb74b4582e9c343a252aeb.tar.gz
llvm-d76e06715056710199bb74b4582e9c343a252aeb.tar.bz2
Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure
the kaleidoscope 'library' functions aren't dead-stripped in release builds. llvm-svn: 246201
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl4.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/LangImpl4.rst b/llvm/docs/tutorial/LangImpl4.rst
index 702886f..92dcc3d 100644
--- a/llvm/docs/tutorial/LangImpl4.rst
+++ b/llvm/docs/tutorial/LangImpl4.rst
@@ -566,7 +566,7 @@ if we add:
/// putchard - putchar that takes a double and returns 0.
extern "C" double putchard(double X) {
- putchar((char)X);
+ fputc((char)X, stderr);
return 0;
}