diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/CMake.html | 13 | ||||
| -rw-r--r-- | docs/LangRef.html | 22 | ||||
| -rw-r--r-- | docs/TableGenFundamentals.html | 9 |
3 files changed, 35 insertions, 9 deletions
diff --git a/docs/CMake.html b/docs/CMake.html index ac3b57a84893..1f50d397f006 100644 --- a/docs/CMake.html +++ b/docs/CMake.html @@ -217,6 +217,11 @@ <dd>Path where LLVM will be installed if "make install" is invoked or the "INSTALL" target is built.</dd> + <dt><b>LLVM_LIBDIR_SUFFIX</b>:STRING</dt> + <dd>Extra suffix to append to the directory where libraries are to + be installed. On a 64-bit architecture, one could use + -DLLVM_LIBDIR_SUFFIX=64 to install libraries to /usr/lib64.</dd> + <dt><b>CMAKE_C_FLAGS</b>:STRING</dt> <dd>Extra flags to use when compiling C source files.</dd> @@ -296,7 +301,13 @@ <div class="doc_text"> -<p>TODO</p> +<p>See <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling">this + wiki page</a> for generic instructions on how to cross-compile + with CMake. It goes into detailed explanations and may seem + daunting, but it is not. On the wiki page there are several + examples including toolchain files. Go directly to + <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling#Information_how_to_set_up_various_cross_compiling_toolchains">this + section</a> for a quick solution.</p> </div> diff --git a/docs/LangRef.html b/docs/LangRef.html index 89d4f936569f..897654df9569 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1091,19 +1091,27 @@ stack before the local variables that's checked upon return from the function to see if it has been overwritten. A heuristic is used to determine if a function needs stack protectors or not. -<p>If a function that has an <tt>ssp</tt> attribute is inlined into a function +<br><br>If a function that has an <tt>ssp</tt> attribute is inlined into a function that doesn't have an <tt>ssp</tt> attribute, then the resulting function will -have an <tt>ssp</tt> attribute.</p></dd> +have an <tt>ssp</tt> attribute.</dd> <dt><tt>sspreq</tt></dt> <dd>This attribute indicates that the function should <em>always</em> emit a stack smashing protector. This overrides the <tt><a href="#ssp">ssp</a></tt> function attribute. -<p>If a function that has an <tt>sspreq</tt> attribute is inlined into a +If a function that has an <tt>sspreq</tt> attribute is inlined into a function that doesn't have an <tt>sspreq</tt> attribute or which has an <tt>ssp</tt> attribute, then the resulting function will have -an <tt>sspreq</tt> attribute.</p></dd> +an <tt>sspreq</tt> attribute.</dd> + +<dt><tt>noredzone</tt></dt> +<dd>This attribute indicates that the code generator should not enforce red zone +mandated by target specific ABI.</dd> + +<dt><tt>noimplicitfloat</tt></dt> +<dd>This attributes disables implicit floating point instructions.</dd> + </dl> </div> @@ -1177,6 +1185,9 @@ aspect of the data layout. The specifications accepted are as follows: </p> <dt><tt>a<i>size</i>:<i>abi</i>:<i>pref</i></tt></dt> <dd>This specifies the alignment for an aggregate type of a given bit <i>size</i>.</dd> + <dt><tt>s<i>size</i>:<i>abi</i>:<i>pref</i></tt></dt> + <dd>This specifies the alignment for a stack object of a given bit + <i>size</i>.</dd> </dl> <p>When constructing the data layout for a given target, LLVM starts with a default set of specifications which are then (possibly) overriden by the @@ -1196,6 +1207,7 @@ are given in this list:</p> <li><tt>v64:64:64</tt> - 64-bit vector is 64-bit aligned</li> <li><tt>v128:128:128</tt> - 128-bit vector is 128-bit aligned</li> <li><tt>a0:0:1</tt> - aggregates are 8-bit aligned</li> + <li><tt>s0:64:64</tt> - stack objects are 64-bit aligned</li> </ul> <p>When LLVM is determining the alignment for a given type, it uses the following rules:</p> @@ -7209,7 +7221,7 @@ declare void @llvm.stackprotector( i8* <guard>, i8** <slot> ) <a href="mailto:sabre@nondot.org">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2009-06-05 00:49:04 +0200 (Fri, 05 Jun 2009) $ + Last modified: $Date: 2009-06-12 21:45:19 +0200 (Fri, 12 Jun 2009) $ </address> </body> diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index f477b474fb61..48c60b902749 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -371,8 +371,11 @@ supported include:</p> <dd>string value</dd> <dt><tt>[{ ... }]</tt></dt> <dd>code fragment</dd> -<dt><tt>[ X, Y, Z ]</tt></dt> - <dd>list value.</dd> +<dt><tt>[ X, Y, Z ]<type></tt></dt> + <dd>list value. <type> is the type of the list +element and is usually optional. In rare cases, +TableGen is unable to deduce the element type in +which case the user must specify it explicitly.</dd> <dt><tt>{ a, b, c }</tt></dt> <dd>initializer for a "bits<3>" value</dd> <dt><tt>value</tt></dt> @@ -778,7 +781,7 @@ This should highlight the APIs in <tt>TableGen/Record.h</tt>.</p> <a href="mailto:sabre@nondot.org">Chris Lattner</a><br> <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2009-05-19 00:14:45 +0200 (Tue, 19 May 2009) $ + Last modified: $Date: 2009-06-09 20:31:17 +0200 (Tue, 09 Jun 2009) $ </address> </body> |
