Compare commits

...

20 Commits

Author SHA1 Message Date
Tanya Lattner
0fe4ee7cbe Fixing typo
llvm-svn: 29759
2006-08-17 22:21:06 +00:00
Chris Lattner
a335812f14 Apply patch from mainline for GCC 3.3 compatibility.
llvm-svn: 29587
2006-08-09 16:55:25 +00:00
Tanya Lattner
5eff75250d Revert.
llvm-svn: 29586
2006-08-09 16:46:19 +00:00
Tanya Lattner
ccfbe74247 Merge in correct version from mainline
llvm-svn: 29582
2006-08-09 16:33:15 +00:00
Tanya Lattner
fae912a94b Merging in from mainline
llvm-svn: 29581
2006-08-09 16:24:13 +00:00
Tanya Lattner
1e760e1548 Merge from mainline
llvm-svn: 29576
2006-08-09 04:32:10 +00:00
Tanya Lattner
5a0c95a387 Updating credits from mainline
llvm-svn: 29575
2006-08-09 04:19:03 +00:00
Jim Laskey
d5b0c99594 Transfer doc changes to 1.8 release.
llvm-svn: 29448
2006-08-01 18:21:58 +00:00
Reid Spencer
4b09b7f9e6 Include the system libraries in the --ldflags options. This is required to
enable correctly linking on win32 libraries where additional dlls are
required. Patch contributed by Anton Korobeynikov. Release branch commit
authorized by Chris Lattner.

llvm-svn: 29440
2006-08-01 17:32:58 +00:00
Reid Spencer
c0de11dda6 Merge changes for 1.8 release (new options in llvm-config)
llvm-svn: 29427
2006-08-01 07:39:54 +00:00
John Criswell
6e0544bf5f Addition of copyright and licensing files required by glibc.
llvm-svn: 29389
2006-07-28 18:40:05 +00:00
CVS to SVN Conversion
9a91f304ca This commit was manufactured by cvs2svn to create branch 'release_18'.
llvm-svn: 29387
2006-07-28 18:16:00 +00:00
Reid Spencer
de47004747 Remove another merge conflict marker.
llvm-svn: 29342
2006-07-27 07:26:00 +00:00
Reid Spencer
361e792078 Whoops .. don't commit merge conflict markers.
llvm-svn: 29341
2006-07-27 06:50:11 +00:00
Reid Spencer
14bd933716 Merge changes from HEAD.
llvm-svn: 29340
2006-07-27 06:44:27 +00:00
Reid Spencer
a9576cb941 Merge changes from head.
llvm-svn: 29333
2006-07-27 05:54:48 +00:00
Reid Spencer
6b78950465 Merge documentation change from HEAD.
llvm-svn: 29331
2006-07-27 05:44:41 +00:00
Reid Spencer
923eac012c Merge from mainline.
llvm-svn: 29329
2006-07-27 05:38:49 +00:00
Tanya Lattner
01881dad1b This is the 1.8 release
llvm-svn: 29326
2006-07-27 04:54:36 +00:00
CVS to SVN Conversion
53bc784f53 This commit was manufactured by cvs2svn to create branch 'release_18'.
llvm-svn: 29325
2006-07-27 04:54:36 +00:00
16 changed files with 931 additions and 189 deletions

View File

@ -85,6 +85,10 @@ N: Paolo Invernizzi
E: arathorn@fastwebnet.it
D: Visual C++ compatibility fixes
N: Patrick Jenkins
E: patjenk@wam.umd.edu
D: Nightly Tester
N: Brad Jones
E: kungfoomaster@nondot.org
D: Support for packed types
@ -93,6 +97,10 @@ N: Eric Kidd
W: http://randomhacks.net/
D: llvm-config script
N: Anton Korobeynikov
E: asl@math.spbu.ru
D: Mingw32 fixes, cross-compiling support, minor changes here and there
N: Sumant Kowshik
E: kowshik@uiuc.edu
D: Author of the original C backend
@ -100,7 +108,9 @@ D: Author of the original C backend
N: Jim Laskey
E: jlaskey@apple.com
D: Improvements to the PPC backend, instruction scheduling
D: Debug implementation, Dwarf implementation
D: Debug and Dwarf implementation
D: Auto upgrade mangler
D: llvm-gcc4 svn wrangler
N: Chris Lattner
E: sabre@nondot.org
@ -112,6 +122,7 @@ E: tonic@nondot.org
W: http://nondot.org/~tonic/
D: The initial llvm-ar tool, converted regression testsuite to dejagnu
D: Modulo scheduling in the SparcV9 backend
D: Release manager (1.7+)
N: Andrew Lenharth
E: alenhar2@cs.uiuc.edu
@ -150,20 +161,17 @@ E: ashukla@cs.uiuc.edu
D: The `paths' pass
N: Reid Spencer
E: rspencer@x10sys.com
W: http://llvm.x10sys.com/rspencer
E: rspencer@reidspencer.com
W: http://reidspencer.com/
D: Stacker, llvmc, llvm-ld, llvm-ar, lib/Archive, lib/Linker, lib/System,
D: bytecode enhancements, symtab hacking, unoverloading of intrinsics, makefile
D: and configuration system, documentation.
D: and configuration system, documentation, various bug fixing.
N: Adam Treat
E: manyoso@yahoo.com
D: C++ bugs filed, and C++ front-end bug fixes.
N: Bill Wendling
E: wendling@isanbard.org
E: isanbard@gmail.com
D: The `Lower Setjmp/Longjmp' pass, improvements to the -lowerswitch pass.
N: Patrick Jenkins
E: patjenk@wam.umd.edu
D: Nightly Tester
D: Bug hunter extraordinaire.

View File

@ -31,7 +31,7 @@ dnl===
dnl===-----------------------------------------------------------------------===
dnl Initialize autoconf and define the package name, version number and
dnl email address for reporting bugs.
AC_INIT([[llvm]],[[1.8cvs]],[llvmbugs@cs.uiuc.edu])
AC_INIT([[llvm]],[[1.8]],[llvmbugs@cs.uiuc.edu])
dnl Provide a copyright substitution and ensure the copyright notice is included
dnl in the output of --version option of the generated configure script.

View File

@ -117,7 +117,8 @@ web site.</p>
a read-only mirror using subversion. To check out the code the first time use:
</p>
<tt>svn co svn://anonsvn.opensource.apple.com/svn/llvm <i>dst-directory</i></tt>
<tt>svn co svn://anonsvn.opensource.apple.com/svn/llvm/trunk
<i>dst-directory</i></tt>
<p>After that, the code can be be updated in the destination directory using;
</p>

View File

@ -161,7 +161,7 @@ included, as well as any notes or "gotchas" in the code to watch out for.</p>
<b>Class overviews</b>
<p>Classes are one fundemental part of a good object oriented design. As such,
<p>Classes are one fundamental part of a good object oriented design. As such,
a class definition should have a comment block that explains what the class is
used for... if it's not obvious. If it's so completely obvious your grandma
could figure it out, it's probably safe to leave it out. Naming classes

View File

@ -38,6 +38,14 @@ Print a summary of B<llvm-config> arguments.
Print the installation prefix for LLVM.
=item B<--src-root>
Print the source root from which LLVM was built.
=item B<--obj-root>
Print the object root used to build LLVM.
=item B<--bindir>
Print the installation directory for LLVM binaries.
@ -83,6 +91,10 @@ Print all valid component names.
Print the component names for all targets supported by this copy of LLVM.
=item B<--build-mode>
Print the build mode used when LLVM was built (e.g. Debug or Release)
=back
=head1 COMPONENTS

View File

@ -1763,7 +1763,7 @@ your custom data type.<p>
<p>This approach has the advantage that users of your custom data type will
automatically use your custom parser whenever they define an option with a value
type of your data type. The disadvantage of this approach is that it doesn't
work if your fundemental data type is something that is already supported.</p>
work if your fundamental data type is something that is already supported.</p>
</li>

View File

@ -31,6 +31,7 @@
<li><a href="#installcf">Install the GCC Front End</a>
<li><a href="#config">Local LLVM Configuration</a>
<li><a href="#compile">Compiling the LLVM Suite Source Code</a>
<li><a href="#cross-compile">Cross-Compiling LLVM</a>
<li><a href="#objfiles">The Location of LLVM Object Files</a>
<li><a href="#optionalconfig">Optional Configuration Items</a>
</ol></li>
@ -646,9 +647,9 @@ compressed with the gzip program.
<dd>Binary release of the llvm-gcc4 front end for MacOS X/X86.<br/></dd>
</dl>
<p>It is also possible to download the sources of the llvm-gcc4 front end from
a read-only subversion mirror at svn://anonsvn.opensource.apple.com/svn/llvm.
</p>
<p>It is also possible to download the sources of the llvm-gcc4 front end from a
read-only subversion mirror at
svn://anonsvn.opensource.apple.com/svn/llvm/trunk.</p>
</div>
@ -986,6 +987,51 @@ that directory that is out of date.</p>
</div>
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="cross-compile">Cross-Compiling LLVM</a>
</div>
<div class="doc_text">
<p>It is possible to cross-compile LLVM. That is, you can create LLVM
executables and libraries for a platform different than the one one which you
are compiling. To do this, a few additional steps are
required. <sup><a href="#ccn_1">1</a></sup> To cross-compile LLVM, use
these instructions:</p>
<ol>
<li>Configure and build LLVM as a native compiler. You will need
just <tt>TableGen</tt> from that build.
<ul>
<li>If you have <tt>$LLVM_OBJ_ROOT=$LLVM_SRC_ROOT</tt> just execute
<tt>make -C utils/TableGen</tt> after configuring.</li>
<li>Otherwise you will need to monitor building process and terminate
it just after <tt>TableGen</tt> was built.</li>
</ul>
</li>
<li>Copy the TableGen binary to somewhere safe (out of your build tree).
</li>
<li>Configure LLVM to build with a cross-compiler. To do this, supply the
configure script with <tt>--build</tt> and <tt>--host</tt> options that
are different. The values of these options must be legal target triples
that your GCC compiler supports.</li>
<li>Put the saved <tt>TableGen</tt> executable into the
into <tt>$LLVM_OBJ_ROOT/{BUILD_TYPE}/bin</tt> directory (e.g. into
<tt>.../Release/bin</tt> for a Release build).</li>
<li>Build LLVM as usual.</li>
</ol>
<p>The result of such a build will produce executables that are not executable
on your build host (--build option) but can be executed on your compile host
(--host option).</p>
<p><b>Notes:</b></p>
<div class="doc_notes">
<ol>
<li><a name="ccn_1">Cross-compiling</a> was tested only with Linux as
build platform and Windows as host using mingw32 cross-compiler. Other
combinations have not been tested.</li>
</ol>
</div>
</div>
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="objfiles">The Location of LLVM Object Files</a>

View File

@ -4,11 +4,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="llvm.css" type="text/css">
<title>LLVM 1.7 Release Notes</title>
<title>LLVM 1.8 Release Notes</title>
</head>
<body>
<div class="doc_title">LLVM 1.7 Release Notes</div>
<div class="doc_title">LLVM 1.8 Release Notes</div>
<ol>
<li><a href="#intro">Introduction</a></li>
@ -32,9 +32,10 @@
<div class="doc_text">
<p>This document contains the release notes for the LLVM compiler
infrastructure, release 1.7. Here we describe the status of LLVM, including any
infrastructure, release 1.8. Here we describe the status of LLVM, including any
known problems and major improvements from the previous release. The most
up-to-date version of this document can be found on the <a
up-to-date version of this document (corresponding to LLVM CVS) can be found
on the <a
href="http://llvm.org/releases/">LLVM releases web site</a>. If you are
not reading this on the LLVM web pages, you should probably go there because
this document may be updated after the release.</p>
@ -60,40 +61,32 @@ href="http://llvm.org/releases/">releases page</a>.</p>
<div class="doc_text">
<p>This is the eighth public release of the LLVM Compiler Infrastructure. This
<p>This is the ninth public release of the LLVM Compiler Infrastructure. This
release incorporates a large number of enhancements and new features,
including vector support (Intel SSE and Altivec), a new GCC4.0-based
C/C++ front-end, Objective C/C++ support, inline assembly support, and many
other big features.
including DWARF debugging support (C and C++ on Darwin/PPC), improved inline
assembly support, a new <a href="http://llvm.org/nightlytest/">nightly
tester</a>, llvm-config enhancements, many bugs
fixed, and performance and compile time improvements.
</p>
</div>
<!--=========================================================================-->
<div class="doc_subsection">
<a name="newfeatures">New Features in LLVM 1.7</a>
<a name="newfeatures">New Features in LLVM 1.8</a>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="llvmgcc4">GCC4.0-based llvm-gcc
front-end</a></div>
<div class="doc_subsubsection"><a name="dwarf">DWARF debugging
support </a></div>
<div class="doc_text">
<p>LLVM 1.7 includes a brand new llvm-gcc, based on GCC 4.0.1. This version
of llvm-gcc solves many serious long-standing problems with llvm-gcc, including
all of those blocked by the <a href="http://llvm.org/PR498">llvm-gcc 4 meta
bug</a>. In addition, llvm-gcc4 implements support for many new features,
including GCC inline assembly, generic vector support, SSE and Altivec
intrinsics, and several new GCC attributes. Finally, llvm-gcc4 is
significantly faster than llvm-gcc3, respects -O options, its -c/-S options
correspond to GCC's (they emit native code), supports Objective C/C++, and
it has debugging support well underway.</p>
<p>If you can use it, llvm-gcc4 offers significant new functionality, and we
hope that it will replace llvm-gcc3 completely in a future release.
Unfortunately, it does not currently support C++ exception handling at all, and
it only works on Apple Mac OS/X machines with X86 or PowerPC processors.
<p>The llvm-gcc4 C front-end now generates debugging info for C and C++. This
information is propagated through the compiler and the code generator can
currently produce DWARF debugging information from it. DWARF is a standard
debugging format used on many platforms, but currently LLVM only includes
target support for Mac OS X targets for the 1.8 release.
</p>
</div>
@ -104,174 +97,96 @@ Support</a></div>
<div class="doc_text">
<p>The LLVM IR and llvm-gcc4 front-end now fully support arbitrary GCC <a
href="LangRef.html#inlineasm">inline assembly</a>. The LLVM X86 and PowerPC
code generators have initial support for it,
being able to compile basic statements, but are missing some features. Please
report any inline asm statements that crash the compiler or that are miscompiled
as bugs.</p>
<p>Inline assembly support is substantially improved in LLVM 1.8 over LLVM 1.7.
Many unsupported features are now supported, and inline asm support in the X86
backend is far better. llvm-gcc4 now supports global register variables as
well.</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="newsparc">New SPARC backend</a></div>
<div class="doc_subsubsection"><a name="loopopt">Loop Optimizer Improvements</a></div>
<div class="doc_text">
<p>LLVM 1.7 includes a new, fully functional, SPARC backend built in the
target-independent code generator. This SPARC backend includes support for
SPARC V8 and SPARC V9 subtargets (controlling whether V9 features can be used),
and targets the 32-bit SPARC ABI.</p>
<p>The LLVM 1.7 release is the last release that will include the LLVM "SparcV9"
backend, which was the very first LLVM native code generator. It will
be removed in LLVM 1.8, being replaced with the new SPARC backend.</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="genvector">Generic Vector Support
</a></div>
<div class="doc_text">
<p>LLVM now includes significantly extended support for SIMD vectors in its
core instruction set. It now includes three new instructions for manipulating
vectors: <a href="LangRef.html#i_extractelement"><tt>extractelement</tt></a>,
<a href="LangRef.html#i_insertelement"><tt>insertelement</tt></a>, and
<a href="LangRef.html#i_shufflevector"><tt>shufflevector</tt></a>. Further,
many bugs in vector handling have been fixed, and vectors are now supported by
the target-independent code generator. For example, if a vector operation is
not supported by a particular target, it will be correctly broken down and
executed as scalar operations.</p>
<p>Because llvm-gcc3 does not support GCC generic vectors or vector intrinsics,
llvm-gcc4 must be used.</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="ssealtivec">Intel SSE and PowerPC
Altivec support
</a></div>
<div class="doc_text">
<p>The LLVM X86 backend now supports Intel SSE 1, 2, and 3, and now uses scalar
SSE operations to implement scalar floating point math when the target supports
SSE1 (for floats) or SSE2 (for doubles). Vector SSE instructions are generated
by llvm-gcc4 when the generic vector mechanism or specific SSE intrinsics are
used.
</p>
<p>The LLVM PowerPC backend now supports the Altivec instruction set, including
both GCC -maltivec and -faltivec modes. Altivec instructions are generated
by llvm-gcc4 when the generic vector mechanism or specific Altivec intrinsics
are used.
<p>The loop optimizer passes now uses "Loop-Closed SSA Form", which makes it
easier to update SSA form as loop transformations change the code. An
immediate benefit of this is that the loop unswitching pass can now unswitch
loops in more cases.
</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="optimizernew">Optimizer
Improvements</a></div>
<div class="doc_subsubsection"><a name="jumptab">Jump Table Support for Switches
</a></div>
<div class="doc_text">
<ul>
<li>The Loop Unswitching pass (<tt>-loop-unswitch</tt>) has had several bugs
fixed, has several new features, and is enabled by default in llvmgcc3
now.</li>
<li>The Loop Strength Reduction pass (<tt>-loop-reduce</tt>) is now enabled for
the X86 and Alpha backends.</li>
<li>The Instruction Combining pass (<tt>-instcombine</tt>) now includes a
framework and implementation for simplifying code based on whether computed
bits are demanded or not.</li>
<li>The Scalar Replacement of Aggregates pass (<tt>-scalarrepl</tt>) can now
promote simple unions to registers.</li>
<li>The Reassociation pass (<tt>-reassociate</tt>) can now
factor expressions, e.g. turning "A*A+A*B" into "A*(A+B)".</li>
<li>Several LLVM passes are <a href="http://llvm.org/PR681">significantly
faster</a>.</li>
</ul>
<p>The code generator now lowers switch statements to jump tables, providing
significant performance boosts for applications (e.g. interpreters) whose
performance is highly correlated to switch statement performance.</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="codgennew">Code Generator
Improvements</a></div>
<div class="doc_subsubsection"><a name="jitrelease">Deallocation of JIT'd
Machine Code
</a></div>
<div class="doc_text">
<ul>
<li>LLVM has a new prepass (before register allocation) list scheduler, which
supports bottom-up and top-down scheduling, pluggable priority functions and
pluggable hazard recognizers. The X86 backend uses this to reduce register
pressure and RISC targets schedule based on operation latency.</li>
<li>The tblgen-based target description framework introduced in LLVM 1.6 has
several new features, useful for targets that can fold loads and stores into
operations, and features that make the .td files more expressive.</li>
<li>The instruction selector is significantly faster in 1.7 than in 1.6.</li>
<li>The X86, Alpha and Itanium backends use new DAG-DAG instruction selectors,
making them easier to maintain and generate slightly better code.</li>
<li>The X86 backend now supports generation of Scalar SSE code for scalar FP
expressions. LLVM provides significantly better performance with Scalar SSE
instructions than it does with the Intel floating point stack
instructions.</li>
<li>The Itanium backend now has a bundling pass, which improves performance
by ~10% and reduces code size (previously it unconditionally inserted a stop
bit after every instruction).</li>
</ul>
<p>The LLVM JIT now allows clients to deallocate machine code JIT'd to its code
buffer. This is important for long living applications that depend on the JIT.
</p>
</div>
<!--_________________________________________________________________________-->
<div class="doc_subsubsection"><a name="othernew">Other New Features</a></div>
<div class="doc_subsubsection"><a name="other">Other Improvements</a></div>
<div class="doc_text">
<p>This release includes many other improvements, including improvements to
the optimizers and code generators (improving the generated code) changes to
speed up the compiler in many ways (improving algorithms and fine tuning
code), and changes to reduce the code size of the compiler itself.</p>
<p>More specific changes include:</p>
<ul>
<li>The Mac OS/X PowerPC and X86 backends now have initial support for
Darwin DWARF
debugging information, however, debug info generation has been disabled for
the 1.7 release in llvmgcc4.</li>
<li>LLVM includes the new <a href="docs/CommandGuide/html/llvm-config.html">
llvm-config</a> utility, which makes it easier to build and link programs
against the LLVM libraries when not using the LLVM makefiles.</li>
<li>LLVM now supports first class global ctor/dtor initialization lists, no
longer forcing targets to use "__main".</li>
<li>LLVM supports assigning globals and functions to a particular section
in the result executable using the GCC section attribute.</li>
<li><a href="ExtendingLLVM.html">Adding intrinsics to LLVM</a> is now
significantly easier.</li>
<li>llvmgcc4 now fully supports C99 Variable Length Arrays, including dynamic
stack deallocation.</li>
<li>LLVM 1.8 includes an initial ARM backend. This backend is in early
development stages.</li>
<li>LLVM 1.8 now includes significantly better support for mingw and
cygwin.</li>
<li>The <a href="CommandGuide/html/llvm-config.html">llvm-config</a> tool is
now built by default and has several new features.</li>
<li>The X86 and PPC backends now use the correct platform ABI for passing
vectors as arguments to functions.</li>
<li>The X86 backend now includes support for the Microsoft ML assembler
("MASM").</li>
<li>The PowerPC backend now pattern matches the 'rlwimi' instruction more
aggressively.</li>
<li>Most of LLVM is now built with "-pedantic", ensuring better portability
to more C++ Compilers.</li>
<li>The PowerPC backend now includes initial 64-bit support. The JIT is not
complete, and the static compiler has a couple of known bugs, but support
is mostly in place. LLVM 1.9 will include completed PPC-64 support. </li>
</ul>
</div>
<!--=========================================================================-->
<div class="doc_subsection">
<a name="changes">Significant Changes in LLVM 1.7</a>
<a name="changes">Significant Changes in LLVM 1.8</a>
</div>
<div class="doc_text">
<ul>
<li>The official LLVM URL is now <a href="http://llvm.org/">
http://llvm.org/</a>.</li>
<li>The LLVM intrinsics used to be overloaded based on type: for example,
<a href="LangRef.html#int_ctpop"><tt>llvm.ctpop</tt></a> could work with any
integer datatype. They are now separated into different intrinsics with
suffixes to denote their argument type (e.g. <tt>llvm.ctpop.i32</tt>)). Old
LLVM .ll and .bc files that use these intrinsics will continue to work with
new LLVM versions (they are transparently upgraded by the parsers), but will
cause a warning to be emitted.</li>
<li>The <tt>llvm.readport</tt>, <tt>llvm.writeport</tt>, <tt>llvm.readio</tt>,
and <tt>llvm.writeio</tt> intrinsics have been removed. The first two
were ever only supported by the X86 backend, the last two were never
correctly supported by any target, and none were accessible through the
C front-end. Inline assembly support can now be used to
implement these operations.</li>
<li>The <tt>llvm-db</tt> tool had basic support for stepping through code, which
used the JIT. This code has been removed, and DWARF emission support added
instead. <tt>llvm-db</tt> still exists in CVS if someone wanted to write a
<tt>ptrace</tt> backend for it.</li>
<li>The LLVM "SparcV9" backend (deprecated in LLVM 1.7) has been removed in
LLVM 1.8. The LLVM "Sparc" backend replaces it.</li>
<li>The --version option now prints more useful information, including the
build configuration for the tool.</li>
</ul>
</div>
@ -289,6 +204,7 @@ Improvements</a></div>
<ul>
<li>Intel and AMD machines running Red Hat Linux, Fedora Core and FreeBSD
(and probably other unix-like systems).</li>
<li>Intel and AMD machines running on Win32 using MinGW libraries (native)</li>
<li>Sun UltraSPARC workstations running Solaris 8.</li>
<li>Intel and AMD machines running on Win32 with the Cygwin libraries (limited
support is available for native builds with Visual C++).</li>
@ -332,7 +248,7 @@ there isn't already one.</p>
be broken or unreliable, or are in early development. These components should
not be relied on, and bugs should not be filed against them, but they may be
useful to some people. In particular, if you would like to work on one of these
components, please contact us on the llvmdev list.</p>
components, please contact us on the <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVMdev list</a>.</p>
<ul>
<li>The <tt>-cee</tt> pass is known to be buggy, and may be removed in in a
@ -382,8 +298,7 @@ components, please contact us on the llvmdev list.</p>
<div class="doc_text">
<p>
llvm-gcc3 has many significant problems that are fixed by llvm-gcc4. See
those blocked on the <a href="http://llvm.org/PR498">llvm-gcc4 meta bug</a>.
llvm-gcc3 has many significant problems that are fixed by llvm-gcc4.
Two major ones include:</p>
<ul>
@ -401,6 +316,11 @@ Two major ones include:</p>
href="http://llvm.org/PR162">with the largest union member</a>.</li>
</ul>
<p>llvm-gcc4 is far more stable and produces better code than llvm-gcc3, but
does not currently support Link-Time-Optimization or C++ Exception Handling,
which llvm-gcc3 does.</p>
</div>
<!-- _______________________________________________________________________ -->
@ -638,8 +558,7 @@ space if they depend on these (e.g. C99 varargs).</li>
<div class="doc_text">
<ul>
<li><a href="http://llvm.org/PR736">Indirect calls crash JIT on
Darwin/x86</a>.</li>
<li>none yet.</li>
</ul>
</div>
@ -718,19 +637,16 @@ programs.</li>
</div>
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="sparcv9-be">Known problems with the SparcV9 back-end</a>
<a name="arm-be">Known problems with the ARM back-end</a>
</div>
<div class="doc_text">
<ul>
<li><a href="http://llvm.org/PR60">[sparcv9] SparcV9 backend miscompiles
several programs in the LLVM test suite</a></li>
<li>The SparcV9 backend is slated to be removed before the LLVM 1.8
release.</li>
<li>The ARM backend is currently in early development stages, it is not
ready for production use.</li>
</ul>
</div>

View File

@ -66,7 +66,7 @@ TABLE { text-align: center; border: 2px solid black;
padding: 0 1em 0 1em;
display:table;
}
.doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 1em }
.doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
TABLE.layout { text-align: left; border: none; border-collapse: collapse;
padding: 4px 4px 4px 4px; }

View File

@ -0,0 +1,510 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations
below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
^L
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it
becomes a de-facto standard. To achieve this, non-free programs must
be allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
^L
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control
compilation and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
^L
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
^L
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at least
three years, to give the same user the materials specified in
Subsection 6a, above, for a charge no more than the cost of
performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
^L
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
^L
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License
may add an explicit geographical distribution limitation excluding those
countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
^L
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
^L
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms
of the ordinary General Public License).
To apply these terms, attach the following notices to the library.
It is safest to attach them to the start of each source file to most
effectively convey the exclusion of warranty; and each file should
have at least the "copyright" line and a pointer to where the full
notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or
your school, if any, to sign a "copyright disclaimer" for the library,
if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James
Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

View File

@ -1,5 +1,17 @@
libc
------------------------------------------------------------------------------
The stripped down C library found in llvm/runtime/GCCLibraries/libc is licensed
to you under the GNU Lesser General Public License (LGPL).
to you under the GNU Lesser General Public License (LGPL). The license, along
with copyright information, is in COPYING.LIB.
Portions of glibc also contain copyrights and licenses from third parties.
Those are listed in LICENSES.
FSF copyright and warranty disclaimer:
Copyright (C) 1991, 1992, 1996, 1997, 1999 Free Software Foundation, Inc.
Copyright (C) 1995,96,97,2002 Free Software Foundation, Inc.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

View File

@ -0,0 +1,219 @@
This file contains the copying permission notices for various files in the
GNU C Library distribution that have copyright owners other than the Free
Software Foundation. These notices all require that a copy of the notice
be included in the accompanying documentation and be distributed with
binary distributions of the code, so be sure to include this file along
with any binary distributions derived from the GNU C Library.
All code incorporated from 4.4 BSD is distributed under the following
license:
Copyright (C) 1991 Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. [This condition was removed.]
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
The DNS resolver code, taken from BIND 4.9.5, is copyrighted both by
UC Berkeley and by Digital Equipment Corporation. The DEC portions
are under the following license:
Portions Copyright (C) 1993 by Digital Equipment Corporation.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies, and
that the name of Digital Equipment Corporation not be used in
advertising or publicity pertaining to distribution of the document or
software without specific, written prior permission.
THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The Sun RPC support (from rpcsrc-4.0) is covered by the following
license:
Copyright (C) 1984, Sun Microsystems, Inc.
Sun RPC is a product of Sun Microsystems, Inc. and is provided for
unrestricted use provided that this legend is included on all tape media
and as a part of the software program in whole or part. Users may copy
or modify Sun RPC without charge, but are not authorized to license or
distribute it to anyone else except as part of a product or program
developed by the user.
SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
Sun RPC is provided with no support and without any obligation on the
part of Sun Microsystems, Inc. to assist in its use, correction,
modification or enhancement.
SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
OR ANY PART THEREOF.
In no event will Sun Microsystems, Inc. be liable for any lost revenue
or profits or other special, indirect and consequential damages, even if
Sun has been advised of the possibility of such damages.
The following CMU license covers some of the support code for Mach,
derived from Mach 3.0:
Mach Operating System
Copyright (C) 1991,1990,1989 Carnegie Mellon University
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
documentation is hereby granted, provided that both the copyright
notice and this permission notice appear in all copies of the
software, derivative works or modified versions, and any portions
thereof, and that both notices appear in supporting documentation.
CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''
CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
Carnegie Mellon requests users of this software to return to
Software Distribution Coordinator
School of Computer Science
Carnegie Mellon University
Pittsburgh PA 15213-3890
or Software.Distribution@CS.CMU.EDU any improvements or
extensions that they make and grant Carnegie Mellon the rights to
redistribute these changes.
The file if_ppp.h is under the following CMU license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND
CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The following license covers the files from Intel's "Highly Optimized
Mathematical Functions for Itanium" collection:
Intel License Agreement
Copyright (c) 2000, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* The name of Intel Corporation may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The files inet/getnameinfo.c and sysdeps/posix/getaddrinfo.c are copyright
(C) by Craig Metz and are distributed under the following license:
/* The Inner Net License, Version 2.00
The author(s) grant permission for redistribution and use in source and
binary forms, with or without modification, of the software and documentation
provided that the following conditions are met:
0. If you receive a version of the software that is specifically labelled
as not being for redistribution (check the version message and/or README),
you are not permitted to redistribute that version of the software in any
way or form.
1. All terms of the all other applicable copyrights and licenses must be
followed.
2. Redistributions of source code must retain the authors' copyright
notice(s), this list of conditions, and the following disclaimer.
3. Redistributions in binary form must reproduce the authors' copyright
notice(s), this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.
4. [The copyright holder has authorized the removal of this clause.]
5. Neither the name(s) of the author(s) nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If these license terms cause you a real problem, contact the author. */

View File

@ -1,3 +1,13 @@
//===-- qsort.c - The qsort function for the LLVM libc Library ----*- C -*-===//
//
// This code is a modified form of the qsort() function from the GNU C
// library.
//
// Modifications:
// 2003/05/29 - Code disabled for compilation. Line wrapping changed.
//
//===----------------------------------------------------------------------===//
/* Copyright (C) 1991, 1992, 1996, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Douglas C. Schmidt (schmidt@ics.uci.edu).

View File

@ -1,6 +1,11 @@
//===-- remove.c - The remove function for the LLVM libc Library --*- C -*-===//
//
// A lot of this code is ripped gratuitously from glibc and libiberty.
// This code is a modified form of the remove() function from the GNU C
// library.
//
// Modifications:
// 2005/11/28 - Added to LLVM tree. Functions renamed to allow compilation.
// Code to control symbol linkage types removed.
//
//===----------------------------------------------------------------------===//

View File

@ -47,6 +47,7 @@ my @TARGETS_BUILT = map { lc($_) } qw{@TARGETS_TO_BUILD@};
#---- begin Makefile values ----
my $CXXFLAGS = q{@LLVM_CXXFLAGS@};
my $LDFLAGS = q{@LLVM_LDFLAGS@};
my $SYSTEM_LIBS = q{@LIBS@};
my $LLVM_BUILDMODE = q{@LLVM_BUILDMODE@};
#---- end Makefile values ----
@ -109,7 +110,7 @@ foreach my $arg (@ARGV) {
} elsif ($arg eq "--cxxflags") {
$has_opt = 1; print "-I$INCLUDEDIR $CXXFLAGS\n";
} elsif ($arg eq "--ldflags") {
$has_opt = 1; print "-L$LIBDIR $LDFLAGS\n";
$has_opt = 1; print "-L$LIBDIR $LDFLAGS $SYSTEM_LIBS\n";
} elsif ($arg eq "--libs") {
$has_opt = 1; $want_libs = 1;
} elsif ($arg eq "--libnames") {

View File

@ -3633,6 +3633,8 @@ void DAGISelEmitter::run(std::ostream &OS) {
OS << "#if defined(__GNUC__) && \\\n";
OS << " ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)))\n";
OS << "#define NOINLINE __attribute__((noinline))\n";
OS << "#else\n\n";
OS << "#define NOINLINE\n\n";
OS << "#endif\n\n";
OS << "// Instance var to keep track of multiply used nodes that have \n"