[llvm-commits] CVS: llvm/docs/GettingStarted.html LangRef.html ReleaseNotes.html
Anton Korobeynikov
asl at math.spbu.ru
Tue Jan 23 04:36:01 PST 2007
Changes in directory llvm/docs:
GettingStarted.html updated: 1.151 -> 1.152
LangRef.html updated: 1.202 -> 1.203
ReleaseNotes.html updated: 1.366 -> 1.367
---
Log message:
Updating documentation:
- Document visibility stuff
- Fix gcc' supported attributes list
- Document udis86 configure option
---
Diffs of the changes: (+59 -17)
GettingStarted.html | 7 ++++++-
LangRef.html | 50 ++++++++++++++++++++++++++++++++++++++++++++------
ReleaseNotes.html | 19 +++++++++----------
3 files changed, 59 insertions(+), 17 deletions(-)
Index: llvm/docs/GettingStarted.html
diff -u llvm/docs/GettingStarted.html:1.151 llvm/docs/GettingStarted.html:1.152
--- llvm/docs/GettingStarted.html:1.151 Thu Jan 4 01:08:27 2007
+++ llvm/docs/GettingStarted.html Tue Jan 23 06:35:46 2007
@@ -849,6 +849,11 @@
documentation from the source code. This is disabled by default because
generating the documentation can take a long time and producess 100s of
megabytes of output.</dd>
+ <dt><i>--with-udis86</i></dt>
+ <dd>LLVM can use external disassembler library for various purposes (now it's
+ used only for examining code produced by JIT). This option will enable usage
+ of <a href="http://udis86.sourceforge.net/">udis86</a> x86 (both 32 and 64
+ bits) disassembler library.</dd>
</dl>
<p>To configure LLVM, follow these steps:</p>
@@ -1626,7 +1631,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.x10sys.com/rspencer/">Reid Spencer</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007/01/04 07:08:27 $
+ Last modified: $Date: 2007/01/23 12:35:46 $
</address>
</body>
</html>
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.202 llvm/docs/LangRef.html:1.203
--- llvm/docs/LangRef.html:1.202 Sat Jan 20 18:29:25 2007
+++ llvm/docs/LangRef.html Tue Jan 23 06:35:46 2007
@@ -580,6 +580,40 @@
<!-- ======================================================================= -->
<div class="doc_subsection">
+ <a name="visibility">Visibility Styles</a>
+</div>
+
+<div class="doc_text">
+
+<p>
+All Global Variables and Functions have one of the following visibility styles:
+</p>
+
+<dl>
+ <dt><b>"<tt>default</tt>" - Default style</b>:</dt>
+
+ <dd>On ELF, default visibility means that the declaration is visible to other
+ modules and, in shared libraries, means that the declared entity may be
+ overridden. On Darwin, default visibility means that the declaration is
+ visible to other modules. Default visibility corresponds to "external
+ linkage" in the language.
+ </dd>
+
+ <dt><b>"<tt>hidden</tt>" - Hidden style</b>:</dt>
+
+ <dd>Two declarations of an object with hidden visibility refer to the same
+ object if they are in the same shared object. Usually, hidden visibility
+ indicates that the symbol will not be placed into the dynamic symbol table,
+ so no other module (executable or shared library) can reference it
+ directly.
+ </dd>
+
+</dl>
+
+</div>
+
+<!-- ======================================================================= -->
+<div class="doc_subsection">
<a name="globalvars">Global Variables</a>
</div>
@@ -638,14 +672,18 @@
<p>LLVM function definitions consist of the "<tt>define</tt>" keyord,
an optional <a href="#linkage">linkage type</a>, an optional
+<a href="#visibility">visibility style</a>, an optional
<a href="#callingconv">calling convention</a>, a return type, an optional
<a href="#paramattrs">parameter attribute</a> for the return type, a function
name, a (possibly empty) argument list (each with optional
-<a href="#paramattrs">parameter attributes</a>), an optional section, an
-optional alignment, an opening curly brace, a list of basic blocks, and a
-closing curly brace. LLVM function declarations
-consist of the "<tt>declare</tt>" keyword, an optional <a
- href="#callingconv">calling convention</a>, a return type, an optional
+<a href="#paramattrs">parameter attributes</a>), an optional section, an
+optional alignment, an opening curly brace, a list of basic blocks, and a
+closing curly brace.
+
+LLVM function declarations consist of the "<tt>declare</tt>" keyword, an
+optional <a href="#linkage">linkage type</a>, an optional
+<a href="#visibility">visibility style</a>, an optional
+<a href="#callingconv">calling convention</a>, a return type, an optional
<a href="#paramattrs">parameter attribute</a> for the return type, a function
name, a possibly empty list of arguments, and an optional alignment.</p>
@@ -4481,7 +4519,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007/01/21 00:29:25 $
+ Last modified: $Date: 2007/01/23 12:35:46 $
</address>
</body>
</html>
Index: llvm/docs/ReleaseNotes.html
diff -u llvm/docs/ReleaseNotes.html:1.366 llvm/docs/ReleaseNotes.html:1.367
--- llvm/docs/ReleaseNotes.html:1.366 Sat Nov 18 02:04:48 2006
+++ llvm/docs/ReleaseNotes.html Tue Jan 23 06:35:46 2007
@@ -510,27 +510,26 @@
<b>Supported:</b> <tt>constructor</tt>, <tt>destructor</tt>,
<tt>deprecated</tt>, <tt>fastcall</tt>, <tt>format</tt>,
<tt>format_arg</tt>, <tt>non_null</tt>, <tt>noreturn</tt>,
- <tt>stdcall</tt>, <tt>unused</tt>, <tt>used</tt>,
- <tt>warn_unused_result</tt>, <tt>weak</tt><br>
+ <tt>section</tt>, <tt>stdcall</tt>, <tt>unused</tt>, <tt>used</tt>,
+ <tt>visibility</tt>, <tt>warn_unused_result</tt>, <tt>weak</tt><br>
<b>Ignored:</b> <tt>noinline</tt>,
<tt>always_inline</tt>, <tt>pure</tt>, <tt>const</tt>, <tt>nothrow</tt>,
<tt>malloc</tt>, <tt>no_instrument_function</tt>, <tt>cdecl</tt><br>
- <b>Unsupported:</b> <tt>section</tt>, <tt>alias</tt>,
- <tt>visibility</tt>, <tt>regparm</tt>, all other target specific
+ <b>Unsupported:</b> <tt>alias</tt>, <tt>regparm</tt>, all other target specific
attributes</li>
<li><a href="http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html#Variable%20Attributes">Variable Attributes</a>:
Specifying attributes of variables.<br>
<b>Supported:</b> <tt>cleanup</tt>, <tt>common</tt>, <tt>nocommon</tt>,
- <tt>deprecated</tt>, <tt>dllimport</tt>,
- <tt>dllexport</tt>, <tt>transparent_union</tt>,
- <tt>unused</tt>, <tt>used</tt>, <tt>weak</tt><br>
+ <tt>deprecated</tt>, <tt>dllimport</tt>, <tt>dllexport</tt>,
+ <tt>section</tt>, <tt>transparent_union</tt>, <tt>unused</tt>,
+ <tt>used</tt>, <tt>weak</tt><br>
<b>Unsupported:</b> <tt>aligned</tt>, <tt>mode</tt>, <tt>packed</tt>,
- <tt>section</tt>, <tt>shared</tt>, <tt>tls_model</tt>,
- <tt>vector_size</tt>, all target specific attributes.
+ <tt>shared</tt>, <tt>tls_model</tt>,
+ <tt>vector_size</tt>, all target specific attributes.
</li>
<li><a href="http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html#Type%20Attributes">Type Attributes</a>: Specifying attributes of types.<br>
@@ -681,7 +680,7 @@
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a>
<a href="http://llvm.org/">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2006/11/18 08:04:48 $
+ Last modified: $Date: 2007/01/23 12:35:46 $
</address>
</body>
More information about the llvm-commits
mailing list