From 0c660256eb41fb0ba44277a32f39d2a028f797f2 Mon Sep 17 00:00:00 2001 From: Shao-Ce SUN Date: Mon, 15 Nov 2021 09:17:08 +0800 Subject: [NFC] Trim trailing whitespace in *.rst --- llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst | 6 +++--- llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend') diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst index 16b4532..31232e4 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst @@ -130,8 +130,8 @@ layout. .. code-block:: c++ TheModule->setDataLayout(TargetMachine->createDataLayout()); - TheModule->setTargetTriple(TargetTriple); - + TheModule->setTargetTriple(TargetTriple); + Emit Object Code ================ @@ -179,7 +179,7 @@ Let's run it, and define a simple ``average`` function. Press Ctrl-D when you're done. :: - + $ ./toy ready> def average(x y) (x + y) * 0.5; ^D diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst index e1e477d..669df43 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst @@ -78,7 +78,7 @@ allowing you to skip ahead as you wish: - `Chapter #8: Compiling to Object Files `_ - This chapter explains how to take LLVM IR and compile it down to object files, like a static compiler does. -- `Chapter #9: Debug Information `_ - A real language +- `Chapter #9: Debug Information `_ - A real language needs to support debuggers, so we add debug information that allows setting breakpoints in Kaleidoscope functions, print out argument variables, and call functions! -- cgit v1.1