From 3b32b2ff106a3b7c0311f46b1766e0a6450bde46 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 29 Oct 2013 17:53:27 +0000 Subject: [PATCH] Fix common typos in the docs. llvm-svn: 193632 --- llvm/docs/HowToBuildOnARM.rst | 2 +- llvm/docs/LangRef.rst | 2 +- llvm/docs/SourceLevelDebugging.rst | 2 +- llvm/docs/yaml2obj.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/docs/HowToBuildOnARM.rst b/llvm/docs/HowToBuildOnARM.rst index f212acdc95fe..b58dfac737db 100644 --- a/llvm/docs/HowToBuildOnARM.rst +++ b/llvm/docs/HowToBuildOnARM.rst @@ -21,7 +21,7 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips. #. If you are building LLVM/Clang on an ARM board with 1G of memory or less, please use ``gold`` rather then GNU ``ld``. Building LLVM/Clang with ``--enable-optimized`` - is prefered since it consumes less memory. Otherwise, the building + is preferred since it consumes less memory. Otherwise, the building process will very likely fail due to insufficient memory. In any case it is probably a good idea to set up a swap partition. diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 965858c3f926..a8f3cee96088 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -8818,7 +8818,7 @@ level without an intrinsic, one would need to create additional basic blocks to handle the success/failure cases. This makes it difficult to stop the stack protector check from disrupting sibling tail calls in Codegen. With this intrinsic, we are able to generate the stack protector basic blocks late in -codegen after the tail call decision has occured. +codegen after the tail call decision has occurred. '``llvm.objectsize``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index 05ac09cdbda9..a1d8110637f6 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -295,7 +295,7 @@ Subprogram descriptors i32, ;; Index into a virtual function metadata, ;; indicates which base type contains the vtable pointer for the ;; derived class - i32, ;; Flags - Artifical, Private, Protected, Explicit, Prototyped. + i32, ;; Flags - Artificial, Private, Protected, Explicit, Prototyped. i1, ;; isOptimized Function * , ;; Pointer to LLVM function metadata, ;; Lists function template parameters diff --git a/llvm/docs/yaml2obj.rst b/llvm/docs/yaml2obj.rst index b269806e06f6..2c55f02f0dd7 100644 --- a/llvm/docs/yaml2obj.rst +++ b/llvm/docs/yaml2obj.rst @@ -38,7 +38,7 @@ Here's a sample COFF file. ComplexType: IMAGE_SYM_DTYPE_NULL # (0) StorageClass: IMAGE_SYM_CLASS_STATIC # (3) NumberOfAuxSymbols: 1 - AuxillaryData: + AuxiliaryData: "\x24\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00" # |$.................| - Name: _main