blob: 44e983ec8946001d9974c2fa6f9dee9f4e0fe64a [file] [log] [blame]
Misha Brukman80731b92003-11-22 00:38:41 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3<html>
4<head>
Reid Spencere4190fa2004-11-18 18:38:58 +00005 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Misha Brukman80731b92003-11-22 00:38:41 +00006 <link rel="stylesheet" href="llvm.css" type="text/css">
Dan Gohman62af9d22010-05-03 23:51:05 +00007 <title>LLVM 2.8 Release Notes</title>
Misha Brukman80731b92003-11-22 00:38:41 +00008</head>
9<body>
Chris Lattner3d482502003-10-02 04:57:28 +000010
Dan Gohman62af9d22010-05-03 23:51:05 +000011<div class="doc_title">LLVM 2.8 Release Notes</div>
Mikhail Glushenkov024f7cf2008-10-13 02:08:34 +000012
Chris Lattnerc871bac2010-03-17 04:02:39 +000013<img align=right src="http://llvm.org/img/DragonSmall.png"
Gabor Greif27b166352010-04-22 10:21:43 +000014 width="136" height="136" alt="LLVM Dragon Logo">
Chris Lattnerc871bac2010-03-17 04:02:39 +000015
Chris Lattner3d482502003-10-02 04:57:28 +000016<ol>
Misha Brukman80731b92003-11-22 00:38:41 +000017 <li><a href="#intro">Introduction</a></li>
Chris Lattnerf5cd9862008-10-13 18:01:01 +000018 <li><a href="#subproj">Sub-project Status Update</a></li>
Dan Gohman62af9d22010-05-03 23:51:05 +000019 <li><a href="#externalproj">External Projects Using LLVM 2.8</a></li>
20 <li><a href="#whatsnew">What's New in LLVM 2.8?</a></li>
Chris Lattner77a51732004-04-30 22:17:12 +000021 <li><a href="GettingStarted.html">Installation Instructions</a></li>
Misha Brukman80731b92003-11-22 00:38:41 +000022 <li><a href="#portability">Portability and Supported Platforms</a></li>
Dan Gohmanad888912008-10-14 16:23:02 +000023 <li><a href="#knownproblems">Known Problems</a></li>
Misha Brukman80731b92003-11-22 00:38:41 +000024 <li><a href="#additionalinfo">Additional Information</a></li>
Chris Lattner3d482502003-10-02 04:57:28 +000025</ol>
26
Chris Lattner020e1fc2004-05-23 21:07:27 +000027<div class="doc_author">
Dan Gohmanad888912008-10-14 16:23:02 +000028 <p>Written by the <a href="http://llvm.org">LLVM Team</a></p>
Misha Brukman80731b92003-11-22 00:38:41 +000029</div>
Chris Lattner3d482502003-10-02 04:57:28 +000030
Chris Lattner656db162010-04-22 05:41:35 +000031<h1 style="color:red">These are in-progress notes for the upcoming LLVM 2.8
Jeffrey Yasskin0830b972010-01-28 01:14:43 +000032release.<br>
33You may prefer the
Dan Gohman62af9d22010-05-03 23:51:05 +000034<a href="http://llvm.org/releases/2.7/docs/ReleaseNotes.html">LLVM 2.7
35Release Notes</a>.</h1>
Jeffrey Yasskin0830b972010-01-28 01:14:43 +000036
Chris Lattner3d482502003-10-02 04:57:28 +000037<!-- *********************************************************************** -->
Misha Brukman80731b92003-11-22 00:38:41 +000038<div class="doc_section">
39 <a name="intro">Introduction</a>
40</div>
Chris Lattner3d482502003-10-02 04:57:28 +000041<!-- *********************************************************************** -->
42
Misha Brukman80731b92003-11-22 00:38:41 +000043<div class="doc_text">
44
Chris Lattner1e4d5bc2008-10-13 17:57:36 +000045<p>This document contains the release notes for the LLVM Compiler
Dan Gohman3b763f42010-05-03 23:52:21 +000046Infrastructure, release 2.8. Here we describe the status of LLVM, including
Chris Lattner1e4d5bc2008-10-13 17:57:36 +000047major improvements from the previous release and significant known problems.
Mikhail Glushenkov25422542009-03-01 18:09:47 +000048All LLVM releases may be downloaded from the <a
Chris Lattner1e4d5bc2008-10-13 17:57:36 +000049href="http://llvm.org/releases/">LLVM releases web site</a>.</p>
Chris Lattner62495762003-10-02 16:38:05 +000050
Chris Lattnerb5bb5972004-12-07 08:04:13 +000051<p>For more information about LLVM, including information about the latest
Chris Lattnera69595e2005-10-29 07:07:09 +000052release, please check out the <a href="http://llvm.org/">main LLVM
Chris Lattnere7525b52003-10-07 21:38:31 +000053web site</a>. If you have questions or comments, the <a
Chris Lattner0b1c9a52010-03-17 04:41:49 +000054href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVM Developer's
55Mailing List</a> is a good place to send them.</p>
Chris Lattner3d482502003-10-02 04:57:28 +000056
Mikhail Glushenkov024f7cf2008-10-13 02:08:34 +000057<p>Note that if you are reading this file from a Subversion checkout or the
Chris Lattner0a1fd102007-09-21 03:54:09 +000058main LLVM web page, this document applies to the <i>next</i> release, not the
Gabor Greif355f81c2008-10-14 11:00:32 +000059current one. To see the release notes for a specific release, please see the
Chris Lattner0a1fd102007-09-21 03:54:09 +000060<a href="http://llvm.org/releases/">releases page</a>.</p>
Misha Brukman80731b92003-11-22 00:38:41 +000061
62</div>
Chris Lattneraa61f412009-10-13 17:48:04 +000063
Chris Lattner3d482502003-10-02 04:57:28 +000064
Chris Lattneraa61f412009-10-13 17:48:04 +000065<!--
66Almost dead code.
67 include/llvm/Analysis/LiveValues.h => Dan
68 lib/Transforms/IPO/MergeFunctions.cpp => consider for 2.8.
69 llvm/Analysis/PointerTracking.h => Edwin wants this, consider for 2.8.
Chris Lattner13ee7952010-08-28 04:09:24 +000070 GEPSplitterPass
Chris Lattneraa61f412009-10-13 17:48:04 +000071-->
72
73
Dan Gohman62af9d22010-05-03 23:51:05 +000074<!-- Features that need text if they're finished for 2.8:
Chris Lattnera67df2d2010-04-22 06:28:20 +000075 combiner-aa?
Chris Lattneraa61f412009-10-13 17:48:04 +000076 strong phi elim
Chris Lattner87e04952010-04-21 05:17:40 +000077 llvm.dbg.value: variable debug info for optimized code
Chris Lattneraa61f412009-10-13 17:48:04 +000078 loop dependence analysis
Chris Lattnerbd244042010-08-28 16:33:36 +000079 TBAA
Chris Lattner2b8a52e2008-02-10 07:46:44 +000080 -->
Mikhail Glushenkov024f7cf2008-10-13 02:08:34 +000081
Chris Lattnerc4d68542008-10-12 19:47:48 +000082 <!-- for announcement email:
Chris Lattneraa61f412009-10-13 17:48:04 +000083 Logo web page.
Chris Lattneraa61f412009-10-13 17:48:04 +000084 Many new papers added to /pubs/
Chris Lattnerd02da042009-02-25 06:34:50 +000085 -->
Chris Lattner2b8a52e2008-02-10 07:46:44 +000086
Chris Lattnerf5cd9862008-10-13 18:01:01 +000087<!-- *********************************************************************** -->
88<div class="doc_section">
89 <a name="subproj">Sub-project Status Update</a>
Chris Lattner625a3d82008-06-08 21:34:41 +000090</div>
Chris Lattnerf5cd9862008-10-13 18:01:01 +000091<!-- *********************************************************************** -->
Chris Lattner625a3d82008-06-08 21:34:41 +000092
93<div class="doc_text">
Chris Lattnerc75fd522008-06-08 21:58:17 +000094<p>
Dan Gohman62af9d22010-05-03 23:51:05 +000095The LLVM 2.8 distribution currently consists of code from the core LLVM
Chris Lattneraa61f412009-10-13 17:48:04 +000096repository (which roughly includes the LLVM optimizers, code generators
97and supporting tools), the Clang repository and the llvm-gcc repository. In
98addition to this code, the LLVM Project includes other sub-projects that are in
99development. Here we include updates on these subprojects.
Bill Wendlingf170d2e2009-03-02 04:28:57 +0000100</p>
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000101
Chris Lattnerc75fd522008-06-08 21:58:17 +0000102</div>
103
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000104
Chris Lattnerc75fd522008-06-08 21:58:17 +0000105<!--=========================================================================-->
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000106<div class="doc_subsection">
Chris Lattner44c09cd2008-10-13 18:11:54 +0000107<a name="clang">Clang: C/C++/Objective-C Frontend Toolkit</a>
Chris Lattnerc75fd522008-06-08 21:58:17 +0000108</div>
109
110<div class="doc_text">
111
Chris Lattner5de7f6e2010-04-26 17:42:18 +0000112<p><a href="http://clang.llvm.org/">Clang</a> is an LLVM front end for the C,
113C++, and Objective-C languages. Clang aims to provide a better user experience
114through expressive diagnostics, a high level of conformance to language
115standards, fast compilation, and low memory use. Like LLVM, Clang provides a
116modular, library-based architecture that makes it suitable for creating or
117integrating with other development tools. Clang is considered a
118production-quality compiler for C and Objective-C on x86 (32- and 64-bit).</p>
Chris Lattneraa61f412009-10-13 17:48:04 +0000119
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000120<p>In the LLVM 2.8 time-frame, the Clang team has made many improvements:</p>
Bill Wendlingef362462008-10-27 09:27:33 +0000121
Daniel Dunbarc11b40f2008-10-14 23:25:09 +0000122<ul>
David Chisnall17dff472010-04-25 19:13:33 +0000123
Bill Wendling87adbe42009-03-02 04:28:18 +0000124</ul>
Chris Lattner44c09cd2008-10-13 18:11:54 +0000125</div>
126
127<!--=========================================================================-->
128<div class="doc_subsection">
129<a name="clangsa">Clang Static Analyzer</a>
130</div>
131
132<div class="doc_text">
133
Chris Lattner2284b6a2010-04-22 06:38:11 +0000134<p>The <a href="http://clang-analyzer.llvm.org/">Clang Static Analyzer</a>
135 project is an effort to use static source code analysis techniques to
136 automatically find bugs in C and Objective-C programs (and hopefully <a
137 href="http://clang-analyzer.llvm.org/dev_cxx.html">C++ in the
138 future</a>!). The tool is very good at finding bugs that occur on specific
139 paths through code, such as on error conditions.</p>
Chris Lattnerbcffa5a2008-10-14 00:52:49 +0000140
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000141<p>In the LLVM 2.8 time-frame,
Chris Lattner2284b6a2010-04-22 06:38:11 +0000142</p>
Chris Lattnerc75fd522008-06-08 21:58:17 +0000143
144</div>
145
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000146<!--=========================================================================-->
147<div class="doc_subsection">
Nicolas Geoffraye5ec9322008-10-14 19:23:04 +0000148<a name="vmkit">VMKit: JVM/CLI Virtual Machine Implementation</a>
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000149</div>
150
151<div class="doc_text">
152<p>
Nicolas Geoffraye5ec9322008-10-14 19:23:04 +0000153The <a href="http://vmkit.llvm.org/">VMKit project</a> is an implementation of
Chris Lattneraa61f412009-10-13 17:48:04 +0000154a JVM and a CLI Virtual Machine (Microsoft .NET is an
155implementation of the CLI) using LLVM for static and just-in-time
156compilation.</p>
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000157
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000158<p>With the release of LLVM 2.8, ...</p>
Chris Lattnerf5cd9862008-10-13 18:01:01 +0000159
160</div>
161
Chris Lattneraa61f412009-10-13 17:48:04 +0000162
163<!--=========================================================================-->
164<div class="doc_subsection">
165<a name="compiler-rt">compiler-rt: Compiler Runtime Library</a>
166</div>
167
168<div class="doc_text">
169<p>
170The new LLVM <a href="http://compiler-rt.llvm.org/">compiler-rt project</a>
171is a simple library that provides an implementation of the low-level
172target-specific hooks required by code generation and other runtime components.
173For example, when compiling for a 32-bit target, converting a double to a 64-bit
174unsigned integer is compiled into a runtime call to the "__fixunsdfdi"
175function. The compiler-rt library provides highly optimized implementations of
176this and other low-level routines (some are 3x faster than the equivalent
177libgcc routines).</p>
178
179<p>
180All of the code in the compiler-rt project is available under the standard LLVM
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000181License, a "BSD-style" license. New in LLVM 2.8:
182
183Soft float support
184</p>
Chris Lattneraa61f412009-10-13 17:48:04 +0000185
186</div>
187
188<!--=========================================================================-->
189<div class="doc_subsection">
Duncan Sands92452b92010-04-02 09:23:15 +0000190<a name="dragonegg">DragonEgg: llvm-gcc ported to gcc-4.5</a>
Chris Lattneraa61f412009-10-13 17:48:04 +0000191</div>
192
193<div class="doc_text">
194<p>
Duncan Sands92452b92010-04-02 09:23:15 +0000195<a href="http://dragonegg.llvm.org/">DragonEgg</a> is a port of llvm-gcc to
196gcc-4.5. Unlike llvm-gcc, which makes many intrusive changes to the underlying
197gcc-4.2 code, dragonegg in theory does not require any gcc-4.5 modifications
198whatsoever (currently one small patch is needed). This is thanks to the new
199<a href="http://gcc.gnu.org/wiki/plugins">gcc plugin architecture</a>, which
200makes it possible to modify the behaviour of gcc at runtime by loading a plugin,
201which is nothing more than a dynamic library which conforms to the gcc plugin
202interface. DragonEgg is a gcc plugin that causes the LLVM optimizers to be run
203instead of the gcc optimizers, and the LLVM code generators instead of the gcc
204code generators, just like llvm-gcc. To use it, you add
205"-fplugin=path/dragonegg.so" to the gcc-4.5 command line, and gcc-4.5 magically
206becomes llvm-gcc-4.5!
207</p>
208
209<p>
210DragonEgg is still a work in progress. Currently C works very well, while C++,
211Ada and Fortran work fairly well. All other languages either don't work at all,
212or only work poorly. For the moment only the x86-32 and x86-64 targets are
Duncan Sands4dd125e2010-04-20 19:40:58 +0000213supported, and only on linux and darwin (darwin needs an additional gcc patch).
Duncan Sands92452b92010-04-02 09:23:15 +0000214</p>
215
216<p>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +00002172.8 status here.
Chris Lattneraa61f412009-10-13 17:48:04 +0000218</p>
219
220</div>
221
222
223<!--=========================================================================-->
224<div class="doc_subsection">
225<a name="mc">llvm-mc: Machine Code Toolkit</a>
226</div>
227
228<div class="doc_text">
229<p>
Chris Lattner2284b6a2010-04-22 06:38:11 +0000230The LLVM Machine Code (aka MC) sub-project of LLVM was created to solve a number
231of problems in the realm of assembly, disassembly, object file format handling,
232and a number of other related areas that CPU instruction-set level tools work
233in. It is a sub-project of LLVM which provides it with a number of advantages
234over other compilers that do not have tightly integrated assembly-level tools.
235For a gentle introduction, please see the <a
236href="http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html">Intro to the
237LLVM MC Project Blog Post</a>.
Chris Lattneraa61f412009-10-13 17:48:04 +0000238</p>
239
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000240<p>2.8 status here</p>
Chris Lattneraa61f412009-10-13 17:48:04 +0000241</div>
242
243
Chris Lattner53e06f92009-02-26 22:33:38 +0000244<!-- *********************************************************************** -->
245<div class="doc_section">
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000246 <a name="externalproj">External Open Source Projects Using LLVM 2.8</a>
Chris Lattner53e06f92009-02-26 22:33:38 +0000247</div>
248<!-- *********************************************************************** -->
249
Chris Lattneraa61f412009-10-13 17:48:04 +0000250<div class="doc_text">
251
252<p>An exciting aspect of LLVM is that it is used as an enabling technology for
253 a lot of other language and tools projects. This section lists some of the
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000254 projects that have already been updated to work with LLVM 2.8.</p>
Chris Lattnerdf85c892010-04-26 17:38:10 +0000255</div>
256
Chris Lattner64694df2010-04-22 21:34:16 +0000257
Chris Lattnerc75fd522008-06-08 21:58:17 +0000258<!-- *********************************************************************** -->
259<div class="doc_section">
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000260 <a name="whatsnew">What's New in LLVM 2.8?</a>
Chris Lattnerc75fd522008-06-08 21:58:17 +0000261</div>
262<!-- *********************************************************************** -->
263
Chris Lattnerb7bc2aa2008-06-08 22:59:35 +0000264<div class="doc_text">
265
Chris Lattneraa61f412009-10-13 17:48:04 +0000266<p>This release includes a huge number of bug fixes, performance tweaks and
Chris Lattner1e4d5bc2008-10-13 17:57:36 +0000267minor improvements. Some of the major improvements and new features are listed
268in this section.
Chris Lattnerb7bc2aa2008-06-08 22:59:35 +0000269</p>
Chris Lattneraa61f412009-10-13 17:48:04 +0000270
Chris Lattnera67df2d2010-04-22 06:28:20 +0000271</div>
272
273<!--=========================================================================-->
274<div class="doc_subsection">
275<a name="orgchanges">LLVM Community Changes</a>
276</div>
277
278<div class="doc_text">
279
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000280<p>In addition to changes to the code, between LLVM 2.7 and 2.8, a number of
Chris Lattner87e04952010-04-21 05:17:40 +0000281organization changes have happened:
282</p>
283
284<ul>
Chris Lattner87e04952010-04-21 05:17:40 +0000285</ul>
Chris Lattnerb7bc2aa2008-06-08 22:59:35 +0000286</div>
287
Chris Lattnerc75fd522008-06-08 21:58:17 +0000288<!--=========================================================================-->
Chris Lattner625a3d82008-06-08 21:34:41 +0000289<div class="doc_subsection">
Chris Lattnercdc44ed2008-02-06 18:00:06 +0000290<a name="majorfeatures">Major New Features</a>
291</div>
292
293<div class="doc_text">
294
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000295<p>LLVM 2.8 includes several major new capabilities:</p>
Chris Lattner97beb512007-05-14 06:56:09 +0000296
297<ul>
Chris Lattner8c26cee2010-09-05 20:49:45 +0000298<li>atomic lowering pass.</li>
299<li>RegionInfo pass: opt -regions analyze" or "opt -view-regions".
300<!-- Tobias Grosser --></li>
301<li>ARMGlobalMerge: <!-- Anton --> </li>
Chris Lattner458e79f2008-02-10 08:18:42 +0000302</ul>
Chris Lattner10a3cc42010-03-17 06:41:58 +0000303
Chris Lattner97beb512007-05-14 06:56:09 +0000304</div>
305
Chris Lattner0a1fd102007-09-21 03:54:09 +0000306<!--=========================================================================-->
307<div class="doc_subsection">
Chris Lattnerd1094e02009-03-02 02:37:32 +0000308<a name="coreimprovements">LLVM IR and Core Improvements</a>
Chris Lattnerdd6acc02008-02-10 08:17:19 +0000309</div>
310
311<div class="doc_text">
Chris Lattneraa61f412009-10-13 17:48:04 +0000312<p>LLVM IR has several new features for better support of new targets and that
313expose new optimization opportunities:</p>
Chris Lattnerdd6acc02008-02-10 08:17:19 +0000314
Chris Lattnerb7112222008-06-05 06:25:56 +0000315<ul>
Gabor Greif4b17e652010-07-21 10:20:08 +0000316
317<li>LLVM 2.8 changes the internal order of operands in <a
318 href="http://llvm.org/doxygen/classllvm_1_1InvokeInst.html"><tt>InvokeInst</tt></a>
319 and <a href="http://llvm.org/doxygen/classllvm_1_1CallInst.html"><tt>CallInst</tt></a>.
320 To be portable across releases, resort to <tt>CallSite</tt> and the
Gabor Greif930894f2010-07-21 10:22:41 +0000321 high-level accessors, such as <tt>getCalledValue</tt> and <tt>setUnwindDest</tt>.
Gabor Greif4b17e652010-07-21 10:20:08 +0000322</li>
Gabor Greifed79dcb2010-07-26 18:48:07 +0000323<li>
324 You can no longer pass use_iterators directly to cast<> (and similar), because
325 these routines tend to perform costly dereference operations more than once. You
326 have to dereference the iterators yourself and pass them in.
327</li>
Torok Edwine6f478f2010-08-04 12:43:22 +0000328<li>
329 llvm.memcpy.*, llvm.memset.*, llvm.memmove.* (and possibly other?) intrinsics
330 take an extra parameter now (i1 isVolatile), totaling 5 parameters.
331 If you were creating these intrinsic calls and prototypes yourself (as opposed
332 to using Intrinsic::getDeclaration), you can use UpgradeIntrinsicFunction/UpgradeIntrinsicCall
333 to be portable accross releases.
334 Note that you cannot use Intrinsic::getDeclaration() in a backwards compatible
335 way (needs 2/3 types now, in 2.7 it needed just 1).
336</li>
337<li>
338 SetCurrentDebugLocation takes a DebugLoc now instead of a MDNode.
339 Change your code to use
340 SetCurrentDebugLocation(DebugLoc::getFromDILocation(...)).
341</li>
342<li>
343 VISIBILITY_HIDDEN is gone.
344</li>
345<li>
Owen Andersonf16eb372010-08-04 18:27:08 +0000346 The <tt>RegisterPass</tt> and <tt>RegisterAnalysisGroup</tt> templates are
347 considered deprecated, but continue to function in LLVM 2.8. Clients are
348 strongly advised to use the upcoming <tt>INITIALIZE_PASS()</tt> and
349 <tt>INITIALIZE_AG_PASS()</tt> macros instead.
350<li>
Torok Edwine6f478f2010-08-04 12:43:22 +0000351 SMDiagnostic takes different parameters now. //FIXME: how to upgrade?
352</li>
353<li>
Duncan Sands1b6744a2010-08-30 10:57:54 +0000354 The constructor for the Triple class no longer tries to understand odd triple
355 specifications. Frontends should ensure that they only pass valid triples to
356 LLVM. The Triple::normalize utility method has been added to help front-ends
357 deal with funky triples.
358<li>
Torok Edwine6f478f2010-08-04 12:43:22 +0000359 Some APIs got renamed:
360 <ul>
361 <li>llvm_report_error -&gt; report_fatal_error</li>
362 <li>llvm_install_error_handler -&gt; install_fatal_error_handler</li>
363 <li>llvm::DwarfExceptionHandling -&gt; llvm::JITExceptionHandling</li>
364 </ul>
365</li>
Chris Lattnerdd6acc02008-02-10 08:17:19 +0000366</ul>
Mikhail Glushenkov024f7cf2008-10-13 02:08:34 +0000367
Chris Lattnerdd6acc02008-02-10 08:17:19 +0000368</div>
369
370<!--=========================================================================-->
371<div class="doc_subsection">
Chris Lattner2b8a52e2008-02-10 07:46:44 +0000372<a name="optimizer">Optimizer Improvements</a>
373</div>
374
375<div class="doc_text">
376
Chris Lattneraa61f412009-10-13 17:48:04 +0000377<p>In addition to a large array of minor performance tweaks and bug fixes, this
Chris Lattner25879d72008-10-13 21:50:36 +0000378release includes a few major enhancements and additions to the optimizers:</p>
Chris Lattner2b8a52e2008-02-10 07:46:44 +0000379
380<ul>
381
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000382<li></li>
Chris Lattnera668b452010-04-21 06:42:24 +0000383
Chris Lattneraa61f412009-10-13 17:48:04 +0000384</ul>
Chris Lattnerd1094e02009-03-02 02:37:32 +0000385
Chris Lattneraa61f412009-10-13 17:48:04 +0000386</div>
Chris Lattnerd1094e02009-03-02 02:37:32 +0000387
Chris Lattnerd1094e02009-03-02 02:37:32 +0000388
Chris Lattneraa61f412009-10-13 17:48:04 +0000389<!--=========================================================================-->
390<div class="doc_subsection">
391<a name="executionengine">Interpreter and JIT Improvements</a>
392</div>
Chris Lattner25879d72008-10-13 21:50:36 +0000393
Chris Lattneraa61f412009-10-13 17:48:04 +0000394<div class="doc_text">
395
396<ul>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000397<li></li>
Chris Lattner87e04952010-04-21 05:17:40 +0000398
Chris Lattner7795ea92008-06-08 02:45:07 +0000399</ul>
400
401</div>
402
403<!--=========================================================================-->
404<div class="doc_subsection">
Chris Lattnerd434bfb2009-03-02 03:24:11 +0000405<a name="codegen">Target Independent Code Generator Improvements</a>
Chris Lattner7795ea92008-06-08 02:45:07 +0000406</div>
407
408<div class="doc_text">
409
Mikhail Glushenkov25422542009-03-01 18:09:47 +0000410<p>We have put a significant amount of work into the code generator
411infrastructure, which allows us to implement more aggressive algorithms and make
412it run faster:</p>
Chris Lattner7795ea92008-06-08 02:45:07 +0000413
414<ul>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000415<li>MachO writer works.</li>
Chris Lattner0a1fd102007-09-21 03:54:09 +0000416</ul>
Chris Lattner0a1fd102007-09-21 03:54:09 +0000417</div>
418
Chris Lattnerd1094e02009-03-02 02:37:32 +0000419<!--=========================================================================-->
420<div class="doc_subsection">
421<a name="x86">X86-32 and X86-64 Target Improvements</a>
422</div>
423
424<div class="doc_text">
425<p>New features of the X86 target include:
426</p>
427
428<ul>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000429<li>The X86 backend now supports holding X87 floating point stack values
430 in registers across basic blocks, dramatically improving performance of code
431 that uses long double, and when targetting CPUs that don't support SSE.</li>
Chris Lattnerd434bfb2009-03-02 03:24:11 +0000432
Chris Lattnerd1094e02009-03-02 02:37:32 +0000433</ul>
434
Chris Lattnerd1094e02009-03-02 02:37:32 +0000435</div>
Chris Lattner0a1fd102007-09-21 03:54:09 +0000436
437<!--=========================================================================-->
438<div class="doc_subsection">
Chris Lattneraa61f412009-10-13 17:48:04 +0000439<a name="ARM">ARM Target Improvements</a>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000440</div>
441
442<div class="doc_text">
Chris Lattneraa61f412009-10-13 17:48:04 +0000443<p>New features of the ARM target include:
444</p>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000445
446<ul>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000447
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000448<li></li>
Jim Grosbach96284682010-04-22 18:33:31 +0000449
Chris Lattneraa61f412009-10-13 17:48:04 +0000450</ul>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000451
Chris Lattnerc92d7692009-03-01 02:30:21 +0000452
Chris Lattneraa61f412009-10-13 17:48:04 +0000453</div>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000454
Chris Lattneraa61f412009-10-13 17:48:04 +0000455<!--=========================================================================-->
456<div class="doc_subsection">
Chris Lattneraa61f412009-10-13 17:48:04 +0000457<a name="newapis">New Useful APIs</a>
458</div>
459
460<div class="doc_text">
461
462<p>This release includes a number of new APIs that are used internally, which
463 may also be useful for external clients.
464</p>
465
466<ul>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000467<li></li>
Chris Lattneraa61f412009-10-13 17:48:04 +0000468</ul>
469
470
471</div>
472
473<!--=========================================================================-->
474<div class="doc_subsection">
475<a name="otherimprovements">Other Improvements and New Features</a>
476</div>
477
478<div class="doc_text">
479<p>Other miscellaneous features include:</p>
480
481<ul>
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000482<li></li>
Chris Lattnerc92d7692009-03-01 02:30:21 +0000483</ul>
484
485</div>
486
Chris Lattner6cb64032008-06-05 08:02:49 +0000487
488<!--=========================================================================-->
489<div class="doc_subsection">
Chris Lattner1e4d5bc2008-10-13 17:57:36 +0000490<a name="changes">Major Changes and Removed Features</a>
491</div>
492
493<div class="doc_text">
494
Chris Lattner934e2d42008-10-13 22:06:31 +0000495<p>If you're already an LLVM user or developer with out-of-tree changes based
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000496on LLVM 2.7, this section lists some "gotchas" that you may run into upgrading
Chris Lattner934e2d42008-10-13 22:06:31 +0000497from the previous release.</p>
Chris Lattner1e4d5bc2008-10-13 17:57:36 +0000498
499<ul>
Chris Lattnerfc561ba2010-09-02 23:22:50 +0000500<li>.ll file doesn't produce #uses comments anymore, to get them, run a .bc file
501 through "llvm-dis --show-annotations".</li>
Chris Lattnerbd244042010-08-28 16:33:36 +0000502<li>MSIL Backend removed.</li>
503<li>ABCD and SSI passes removed.</li>
504<li>'Union' LLVM IR feature removed.</li>
Chris Lattner87e04952010-04-21 05:17:40 +0000505</ul>
Chris Lattner934e2d42008-10-13 22:06:31 +0000506
507<p>In addition, many APIs have changed in this release. Some of the major LLVM
508API changes are:</p>
509
510<ul>
Devang Pateldbf83832008-10-14 20:03:43 +0000511</ul>
Chris Lattner1e4d5bc2008-10-13 17:57:36 +0000512
Chris Lattner1e4d5bc2008-10-13 17:57:36 +0000513</div>
514
515
516
Chris Lattner62495762003-10-02 16:38:05 +0000517<!-- *********************************************************************** -->
Misha Brukman80731b92003-11-22 00:38:41 +0000518<div class="doc_section">
519 <a name="portability">Portability and Supported Platforms</a>
520</div>
Chris Lattner62495762003-10-02 16:38:05 +0000521<!-- *********************************************************************** -->
522
Misha Brukman80731b92003-11-22 00:38:41 +0000523<div class="doc_text">
524
John Criswell64307722004-12-08 20:35:47 +0000525<p>LLVM is known to work on the following platforms:</p>
Chris Lattner2c7b0872004-06-01 18:22:41 +0000526
527<ul>
Mikhail Glushenkov25422542009-03-01 18:09:47 +0000528<li>Intel and AMD machines (IA32, X86-64, AMD64, EMT-64) running Red Hat
Chris Lattneraa61f412009-10-13 17:48:04 +0000529 Linux, Fedora Core, FreeBSD and AuroraUX (and probably other unix-like
530 systems).</li>
Chris Lattnera67df2d2010-04-22 06:28:20 +0000531<li>PowerPC and X86-based Mac OS X systems, running 10.4 and above in 32-bit
Chris Lattneraa61f412009-10-13 17:48:04 +0000532 and 64-bit modes.</li>
Chris Lattnercdc44ed2008-02-06 18:00:06 +0000533<li>Intel and AMD machines running on Win32 using MinGW libraries (native).</li>
Chris Lattnerbee7b322007-05-23 04:39:32 +0000534<li>Intel and AMD machines running on Win32 with the Cygwin libraries (limited
535 support is available for native builds with Visual C++).</li>
Chris Lattner51948622009-10-16 16:30:58 +0000536<li>Sun x86 and AMD64 machines running Solaris 10, OpenSolaris 0906.</li>
John Criswelld5234922005-05-13 20:28:15 +0000537<li>Alpha-based machines running Debian GNU/Linux.</li>
Chris Lattner2c7b0872004-06-01 18:22:41 +0000538</ul>
539
Chris Lattner618a99f2008-06-05 06:57:39 +0000540<p>The core LLVM infrastructure uses GNU autoconf to adapt itself
Brian Gaekee3e557e2004-05-09 05:28:35 +0000541to the machine and operating system on which it is built. However, minor
542porting may be required to get LLVM to work on new platforms. We welcome your
543portability patches and reports of successful builds or error messages.</p>
Chris Lattner3d482502003-10-02 04:57:28 +0000544
Misha Brukman80731b92003-11-22 00:38:41 +0000545</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000546
547<!-- *********************************************************************** -->
Misha Brukman80731b92003-11-22 00:38:41 +0000548<div class="doc_section">
549 <a name="knownproblems">Known Problems</a>
550</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000551<!-- *********************************************************************** -->
552
Misha Brukman80731b92003-11-22 00:38:41 +0000553<div class="doc_text">
554
Mikhail Glushenkov25422542009-03-01 18:09:47 +0000555<p>This section contains significant known problems with the LLVM system,
Chris Lattner2a092392008-11-10 05:40:34 +0000556listed by component. If you run into a problem, please check the <a
Chris Lattnera69595e2005-10-29 07:07:09 +0000557href="http://llvm.org/bugs/">LLVM bug database</a> and submit a bug if
Chris Lattnerb84f3322003-12-12 21:22:16 +0000558there isn't already one.</p>
Chris Lattner3d482502003-10-02 04:57:28 +0000559
Chris Lattner6aba4862010-03-17 17:25:49 +0000560<ul>
Chris Lattneraa61f412009-10-13 17:48:04 +0000561<li>LLVM will not correctly compile on Solaris and/or OpenSolaris
562using the stock GCC 3.x.x series 'out the box',
Chris Lattner6e41c792009-11-03 21:50:09 +0000563See: <a href="GettingStarted.html#brokengcc">Broken versions of GCC and other tools</a>.
Chris Lattneraa61f412009-10-13 17:48:04 +0000564However, A <a href="http://pkg.auroraux.org/GCC">Modern GCC Build</a>
565for x86/x86-64 has been made available from the third party AuroraUX Project
566that has been meticulously tested for bootstrapping LLVM &amp; Clang.</li>
Eric Christopherfa5d2412010-08-05 20:38:39 +0000567<li>There have been reports of Solaris and/or OpenSolaris build failures due
568to an incompatibility in the nm program as well. The nm from binutils does seem
569to work.</li>
Chris Lattneraa61f412009-10-13 17:48:04 +0000570</ul>
571
Misha Brukman80731b92003-11-22 00:38:41 +0000572</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000573
Chris Lattnerb911de42004-03-14 02:03:02 +0000574<!-- ======================================================================= -->
575<div class="doc_subsection">
576 <a name="experimental">Experimental features included with this release</a>
577</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000578
Chris Lattnerb911de42004-03-14 02:03:02 +0000579<div class="doc_text">
580
Misha Brukmanfa50a222004-05-12 21:46:05 +0000581<p>The following components of this LLVM release are either untested, known to
582be broken or unreliable, or are in early development. These components should
583not be relied on, and bugs should not be filed against them, but they may be
584useful to some people. In particular, if you would like to work on one of these
Chris Lattnere38ac152008-02-12 06:29:45 +0000585components, please contact us on the <a
586href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVMdev list</a>.</p>
Chris Lattnerb911de42004-03-14 02:03:02 +0000587
588<ul>
Chris Lattnerbd244042010-08-28 16:33:36 +0000589<li>The Alpha, SPU, MIPS, PIC16, Blackfin, MSP430, SystemZ and MicroBlaze
Wesley Peck3aa84e52010-03-18 14:31:30 +0000590 backends are experimental.</li>
Chris Lattnera67df2d2010-04-22 06:28:20 +0000591<li><tt>llc</tt> "<tt>-filetype=asm</tt>" (the default) is the only
Chris Lattnerb3fa6bf2010-07-21 15:57:40 +0000592 supported value for this option. XXX Update me</li>
Chris Lattnerb911de42004-03-14 02:03:02 +0000593</ul>
594
595</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000596
Misha Brukman80731b92003-11-22 00:38:41 +0000597<!-- ======================================================================= -->
598<div class="doc_subsection">
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000599 <a name="x86-be">Known problems with the X86 back-end</a>
John Criswell3bdbd302005-11-08 21:11:33 +0000600</div>
601
602<div class="doc_text">
603
604<ul>
Anton Korobeynikov486c7d32008-06-08 10:24:13 +0000605 <li>The X86 backend does not yet support
606 all <a href="http://llvm.org/PR879">inline assembly that uses the X86
607 floating point stack</a>. It supports the 'f' and 't' constraints, but not
608 'u'.</li>
Duncan Sands0bc15262008-06-08 19:38:43 +0000609 <li>Win64 code generation wasn't widely tested. Everything should work, but we
John Criswellea03c9d2009-03-02 15:28:15 +0000610 expect small issues to happen. Also, llvm-gcc cannot build the mingw64
Chris Lattnera67df2d2010-04-22 06:28:20 +0000611 runtime currently due to lack of support for the 'u' inline assembly
612 constraint and for X87 floating point inline assembly.</li>
Dan Gohman721b3722008-06-08 23:05:11 +0000613 <li>The X86-64 backend does not yet support the LLVM IR instruction
Chris Lattnera67df2d2010-04-22 06:28:20 +0000614 <tt>va_arg</tt>. Currently, front-ends support variadic
Dan Gohman721b3722008-06-08 23:05:11 +0000615 argument constructs on X86-64 by lowering them manually.</li>
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000616</ul>
617
618</div>
619
620<!-- ======================================================================= -->
621<div class="doc_subsection">
622 <a name="ppc-be">Known problems with the PowerPC back-end</a>
623</div>
624
625<div class="doc_text">
626
627<ul>
Nicolas Geoffray77d99502007-05-15 09:21:28 +0000628<li>The Linux PPC32/ABI support needs testing for the interpreter and static
Chris Lattnerbee7b322007-05-23 04:39:32 +0000629compilation, and lacks support for debug information.</li>
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000630</ul>
631
632</div>
633
634<!-- ======================================================================= -->
635<div class="doc_subsection">
Chris Lattner97beb512007-05-14 06:56:09 +0000636 <a name="arm-be">Known problems with the ARM back-end</a>
637</div>
638
639<div class="doc_text">
640
641<ul>
Chris Lattnerbee7b322007-05-23 04:39:32 +0000642<li>Thumb mode works only on ARMv6 or higher processors. On sub-ARMv6
Duncan Sands47fc0a22007-09-26 15:59:54 +0000643processors, thumb programs can crash or produce wrong
Chris Lattnerbee7b322007-05-23 04:39:32 +0000644results (<a href="http://llvm.org/PR1388">PR1388</a>).</li>
John Criswellea03c9d2009-03-02 15:28:15 +0000645<li>Compilation for ARM Linux OABI (old ABI) is supported but not fully tested.
Chris Lattner97beb512007-05-14 06:56:09 +0000646</li>
Chris Lattner97beb512007-05-14 06:56:09 +0000647</ul>
648
649</div>
650
651<!-- ======================================================================= -->
652<div class="doc_subsection">
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000653 <a name="sparc-be">Known problems with the SPARC back-end</a>
654</div>
655
656<div class="doc_text">
657
658<ul>
John Criswellea03c9d2009-03-02 15:28:15 +0000659<li>The SPARC backend only supports the 32-bit SPARC ABI (-m32); it does not
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000660 support the 64-bit SPARC ABI (-m64).</li>
661</ul>
662
663</div>
664
665<!-- ======================================================================= -->
666<div class="doc_subsection">
Bruno Cardoso Lopes24eb3de2008-10-25 14:56:26 +0000667 <a name="mips-be">Known problems with the MIPS back-end</a>
668</div>
669
670<div class="doc_text">
671
672<ul>
Bruno Cardoso Lopes24eb3de2008-10-25 14:56:26 +0000673<li>64-bit MIPS targets are not supported yet.</li>
674</ul>
675
676</div>
677
678<!-- ======================================================================= -->
679<div class="doc_subsection">
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000680 <a name="alpha-be">Known problems with the Alpha back-end</a>
681</div>
682
683<div class="doc_text">
684
685<ul>
686
687<li>On 21164s, some rare FP arithmetic sequences which may trap do not have the
688appropriate nops inserted to ensure restartability.</li>
689
John Criswell3bdbd302005-11-08 21:11:33 +0000690</ul>
691</div>
692
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000693<!-- ======================================================================= -->
694<div class="doc_subsection">
Chris Lattner97beb512007-05-14 06:56:09 +0000695 <a name="c-be">Known problems with the C back-end</a>
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000696</div>
697
698<div class="doc_text">
699
700<ul>
Chris Lattnera1a4c9a2008-06-05 06:35:40 +0000701<li><a href="http://llvm.org/PR802">The C backend has only basic support for
702 inline assembly code</a>.</li>
Chris Lattner8e061162007-09-26 06:01:35 +0000703<li><a href="http://llvm.org/PR1658">The C backend violates the ABI of common
704 C++ programs</a>, preventing intermixing between C++ compiled by the CBE and
Gabor Greif75b2f762009-03-02 12:02:51 +0000705 C++ code compiled with <tt>llc</tt> or native compilers.</li>
Duncan Sandse09506a2008-02-10 13:40:55 +0000706<li>The C backend does not support all exception handling constructs.</li>
Duncan Sands3aa36732009-02-25 11:51:54 +0000707<li>The C backend does not support arbitrary precision integers.</li>
Chris Lattnerb81f10e2006-11-18 07:51:14 +0000708</ul>
709
710</div>
John Criswell3bdbd302005-11-08 21:11:33 +0000711
Misha Brukman80731b92003-11-22 00:38:41 +0000712
713<!-- ======================================================================= -->
714<div class="doc_subsection">
Chris Lattner0b1c9a52010-03-17 04:41:49 +0000715 <a name="c-fe">Known problems with the llvm-gcc C and C++ front-end</a>
Misha Brukman80731b92003-11-22 00:38:41 +0000716</div>
Chris Lattner178f3db2003-10-02 05:07:23 +0000717
Misha Brukman80731b92003-11-22 00:38:41 +0000718<div class="doc_text">
Chris Lattner72a269f2006-03-03 00:34:26 +0000719
Chris Lattnera1a4c9a2008-06-05 06:35:40 +0000720<p>The only major language feature of GCC not supported by llvm-gcc is
721 the <tt>__builtin_apply</tt> family of builtins. However, some extensions
722 are only supported on some targets. For example, trampolines are only
Duncan Sands56448462008-06-08 20:18:35 +0000723 supported on some targets (these are used when you take the address of a
724 nested function).</p>
Misha Brukman80731b92003-11-22 00:38:41 +0000725
Misha Brukman80731b92003-11-22 00:38:41 +0000726</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000727
Misha Brukman80731b92003-11-22 00:38:41 +0000728<!-- ======================================================================= -->
729<div class="doc_subsection">
Chris Lattner7292fb12008-10-30 03:58:13 +0000730 <a name="fortran-fe">Known problems with the llvm-gcc Fortran front-end</a>
731</div>
732
733<div class="doc_text">
Gabor Greife5f9d672008-11-04 21:50:59 +0000734<ul>
Chris Lattner7292fb12008-10-30 03:58:13 +0000735<li>Fortran support generally works, but there are still several unresolved bugs
Chris Lattneraa61f412009-10-13 17:48:04 +0000736 in <a href="http://llvm.org/bugs/">Bugzilla</a>. Please see the
737 tools/gfortran component for details.</li>
Gabor Greife5f9d672008-11-04 21:50:59 +0000738</ul>
Chris Lattner7292fb12008-10-30 03:58:13 +0000739</div>
Misha Brukman80731b92003-11-22 00:38:41 +0000740
Chris Lattnere38ac152008-02-12 06:29:45 +0000741<!-- ======================================================================= -->
742<div class="doc_subsection">
Chris Lattnera1a4c9a2008-06-05 06:35:40 +0000743 <a name="ada-fe">Known problems with the llvm-gcc Ada front-end</a>
Chris Lattnere38ac152008-02-12 06:29:45 +0000744</div>
745
746<div class="doc_text">
John Criswellea03c9d2009-03-02 15:28:15 +0000747The llvm-gcc 4.2 Ada compiler works fairly well; however, this is not a mature
748technology, and problems should be expected.
Chris Lattnere38ac152008-02-12 06:29:45 +0000749<ul>
Duncan Sands56448462008-06-08 20:18:35 +0000750<li>The Ada front-end currently only builds on X86-32. This is mainly due
John Criswellea03c9d2009-03-02 15:28:15 +0000751to lack of trampoline support (pointers to nested functions) on other platforms.
752However, it <a href="http://llvm.org/PR2006">also fails to build on X86-64</a>
Chris Lattnere38ac152008-02-12 06:29:45 +0000753which does support trampolines.</li>
754<li>The Ada front-end <a href="http://llvm.org/PR2007">fails to bootstrap</a>.
Duncan Sandsd34bf762009-02-25 11:59:06 +0000755This is due to lack of LLVM support for <tt>setjmp</tt>/<tt>longjmp</tt> style
756exception handling, which is used internally by the compiler.
Chris Lattneraa61f412009-10-13 17:48:04 +0000757Workaround: configure with <tt>--disable-bootstrap</tt>.</li>
Duncan Sandsaef747f2008-10-13 17:27:23 +0000758<li>The c380004, <a href="http://llvm.org/PR2010">c393010</a>
759and <a href="http://llvm.org/PR2421">cxg2021</a> ACATS tests fail
Duncan Sandsd34bf762009-02-25 11:59:06 +0000760(c380004 also fails with gcc-4.2 mainline).
761If the compiler is built with checks disabled then <a href="http://llvm.org/PR2010">c393010</a>
762causes the compiler to go into an infinite loop, using up all system memory.</li>
Duncan Sands2dbb00e2009-03-02 16:35:57 +0000763<li>Some GCC specific Ada tests continue to crash the compiler.</li>
Chris Lattneraa61f412009-10-13 17:48:04 +0000764<li>The <tt>-E</tt> binder option (exception backtraces)
Chris Lattnere38ac152008-02-12 06:29:45 +0000765<a href="http://llvm.org/PR1982">does not work</a> and will result in programs
Chris Lattneraa61f412009-10-13 17:48:04 +0000766crashing if an exception is raised. Workaround: do not use <tt>-E</tt>.</li>
Chris Lattnere38ac152008-02-12 06:29:45 +0000767<li>Only discrete types <a href="http://llvm.org/PR1981">are allowed to start
768or finish at a non-byte offset</a> in a record. Workaround: do not pack records
769or use representation clauses that result in a field of a non-discrete type
770starting or finishing in the middle of a byte.</li>
Chris Lattnerb076b002008-06-08 21:19:07 +0000771<li>The <tt>lli</tt> interpreter <a href="http://llvm.org/PR2009">considers
772'main' as generated by the Ada binder to be invalid</a>.
773Workaround: hand edit the file to use pointers for <tt>argv</tt> and
774<tt>envp</tt> rather than integers.</li>
775<li>The <tt>-fstack-check</tt> option <a href="http://llvm.org/PR2008">is
776ignored</a>.</li>
Chris Lattnere38ac152008-02-12 06:29:45 +0000777</ul>
778</div>
779
Chris Lattner3d482502003-10-02 04:57:28 +0000780<!-- *********************************************************************** -->
Misha Brukman80731b92003-11-22 00:38:41 +0000781<div class="doc_section">
782 <a name="additionalinfo">Additional Information</a>
783</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000784<!-- *********************************************************************** -->
785
Misha Brukman80731b92003-11-22 00:38:41 +0000786<div class="doc_text">
787
Chris Lattnercb5596d2005-05-16 17:13:10 +0000788<p>A wide variety of additional information is available on the <a
Chris Lattnere0c1df42007-05-18 00:44:29 +0000789href="http://llvm.org">LLVM web page</a>, in particular in the <a
790href="http://llvm.org/docs/">documentation</a> section. The web page also
Reid Spencerc7f87f22007-07-09 08:04:31 +0000791contains versions of the API documentation which is up-to-date with the
792Subversion version of the source code.
Misha Brukman96158092005-03-30 19:14:24 +0000793You can access versions of these documents specific to this release by going
794into the "<tt>llvm/doc/</tt>" directory in the LLVM tree.</p>
Chris Lattner3d482502003-10-02 04:57:28 +0000795
Misha Brukman80731b92003-11-22 00:38:41 +0000796<p>If you have any questions or comments about LLVM, please feel free to contact
Chris Lattnera69595e2005-10-29 07:07:09 +0000797us via the <a href="http://llvm.org/docs/#maillist"> mailing
Chris Lattnerb84f3322003-12-12 21:22:16 +0000798lists</a>.</p>
Chris Lattner3d482502003-10-02 04:57:28 +0000799
Misha Brukman80731b92003-11-22 00:38:41 +0000800</div>
Chris Lattner3d482502003-10-02 04:57:28 +0000801
802<!-- *********************************************************************** -->
Chris Lattner3d482502003-10-02 04:57:28 +0000803
Misha Brukman80731b92003-11-22 00:38:41 +0000804<hr>
Misha Brukman68aab3b2003-11-22 01:23:39 +0000805<address>
Misha Brukman8834af92003-12-21 22:53:21 +0000806 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
Misha Brukman86242e12008-12-11 17:34:48 +0000807 src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"></a>
Misha Brukman68aab3b2003-11-22 01:23:39 +0000808 <a href="http://validator.w3.org/check/referer"><img
Misha Brukman86242e12008-12-11 17:34:48 +0000809 src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01"></a>
Misha Brukman68aab3b2003-11-22 01:23:39 +0000810
Chris Lattnere0c1df42007-05-18 00:44:29 +0000811 <a href="http://llvm.org/">LLVM Compiler Infrastructure</a><br>
Misha Brukman80731b92003-11-22 00:38:41 +0000812 Last modified: $Date$
Misha Brukman68aab3b2003-11-22 01:23:39 +0000813</address>
Chris Lattner3d482502003-10-02 04:57:28 +0000814
Misha Brukman80731b92003-11-22 00:38:41 +0000815</body>
816</html>