Duncan Sands
5ab54d488f
Introduce new linkage types linkonce_odr, weak_odr, common_odr
...
and extern_weak_odr. These are the same as the non-odr versions,
except that they indicate that the global will only be overridden
by an *equivalent* global. In C, a function with weak linkage can
be overridden by a function which behaves completely differently.
This means that IP passes have to skip weak functions, since any
deductions made from the function definition might be wrong, since
the definition could be replaced by something completely different
at link time. This is not allowed in C++, thanks to the ODR
(One-Definition-Rule): if a function is replaced by another at
link-time, then the new function must be the same as the original
function. If a language knows that a function or other global can
only be overridden by an equivalent global, it can give it the
weak_odr linkage type, and the optimizers will understand that it
is alright to make deductions based on the function body. The
code generators on the other hand map weak and weak_odr linkage
to the same thing.
llvm-svn: 66339
2009-03-07 15:45:40 +00:00
Gordon Henriksen
1f96377a36
Committing unsaved changes that should've been with r66237.
...
llvm-svn: 66242
2009-03-06 02:42:47 +00:00
Gordon Henriksen
87ceb6e41b
Incorporate feedback to improve GarbageCollection.html.
...
llvm-svn: 66237
2009-03-06 01:57:32 +00:00
Nick Lewycky
b1866d3036
This bug's been fixed but a version with the fix hasn't been released yet.
...
llvm-svn: 65931
2009-03-03 05:41:16 +00:00
Bill Wendling
1063de1ee0
Document the -gcc-tool-args bugpoint option.
...
llvm-svn: 65897
2009-03-02 23:15:59 +00:00
Daniel Dunbar
c313ae7d7f
Add some more clang related release notes.
...
llvm-svn: 65868
2009-03-02 20:08:12 +00:00
Tanya Lattner
8b29c82a82
Remove incorrect information about fortran on Darwin.
...
llvm-svn: 65859
2009-03-02 19:38:59 +00:00
Gabor Greif
5edffea922
fix broken GCC bugzilla link
...
llvm-svn: 65858
2009-03-02 19:11:53 +00:00
Gabor Greif
744ea6837b
add a Q/A on broken GCCs
...
llvm-svn: 65857
2009-03-02 19:08:05 +00:00
Chris Lattner
a436e649a4
update blurb per Shannon Weyrick.
...
llvm-svn: 65856
2009-03-02 19:07:24 +00:00
Duncan Sands
18cb21f2cb
Try to make the meaning of 'nocapture' a bit clearer. I
...
commented out the line about simplifylibcalls because I
think this doesn't work in the release (it was fixed in
svn after the release branched).
llvm-svn: 65846
2009-03-02 16:58:00 +00:00
Duncan Sands
8b2f5e96ea
Use GCC not gcc, like everywhere else in this document.
...
llvm-svn: 65845
2009-03-02 16:35:57 +00:00
John Criswell
88855f238d
Grammar and punctuation fixes.
...
No content changes.
llvm-svn: 65844
2009-03-02 15:28:15 +00:00
Gabor Greif
0ee8d1d896
note the removal of deprecated interfaces
...
llvm-svn: 65841
2009-03-02 12:23:55 +00:00
Gabor Greif
a7245a7764
minor tweaks
...
llvm-svn: 65838
2009-03-02 12:02:51 +00:00
Gabor Greif
744adc4f8c
minor tweaks
...
llvm-svn: 65837
2009-03-02 11:34:51 +00:00
Nicolas Geoffray
d12730ac42
Add more notes for VMKit.
...
llvm-svn: 65833
2009-03-02 09:25:38 +00:00
Bill Wendling
b46b800ce0
Random formatting changes.
...
llvm-svn: 65815
2009-03-02 07:54:14 +00:00
Bill Wendling
b707c17bf4
Fix typos.
...
llvm-svn: 65813
2009-03-02 07:42:15 +00:00
Bill Wendling
18ab6088d8
Change </pp> to </p>.
...
llvm-svn: 65804
2009-03-02 04:28:57 +00:00
Bill Wendling
187e889dab
- Use "real-world applications" instead of just "real applications".
...
- Verification Fixes.
llvm-svn: 65803
2009-03-02 04:28:18 +00:00
Gordon Henriksen
34de4eed33
Make some improvements to the GC docs.
...
Also, drop reference to the half-baked runtime interface.
llvm-svn: 65802
2009-03-02 03:47:20 +00:00
Chris Lattner
e2117f1ecb
remove empty section
...
llvm-svn: 65800
2009-03-02 03:24:41 +00:00
Chris Lattner
1b279d2378
more englishification
...
llvm-svn: 65799
2009-03-02 03:24:11 +00:00
Chris Lattner
0f9e9e7719
start translating this into Engrish and organizing it.
...
llvm-svn: 65797
2009-03-02 02:37:32 +00:00
Chris Lattner
cccb2fb989
move gold plugin next to LTO doc in the subsystem section
...
llvm-svn: 65790
2009-03-01 23:42:51 +00:00
Nick Lewycky
b999b7b64e
Add a quickstart example.
...
llvm-svn: 65789
2009-03-01 21:55:10 +00:00
Nick Lewycky
1b26d345cc
Close list item tag, to conform with the style in this file. It's optional
...
anyways.
llvm-svn: 65787
2009-03-01 21:07:44 +00:00
Nick Lewycky
5c799fd8dd
Add the gold plugin page to the documentation index!
...
llvm-svn: 65786
2009-03-01 21:06:42 +00:00
Nick Lewycky
57d7512427
Cleanup the description of flags to llvm-gcc. Also remove stray text in the
...
attribution.
llvm-svn: 65785
2009-03-01 20:58:07 +00:00
Nick Lewycky
4c751eeddf
Don't forget the important part. llvm-gcc -use-gold-plugin passes the right
...
options to gold.
llvm-svn: 65783
2009-03-01 18:48:53 +00:00
Mikhail Glushenkov
6336c61b2c
Sprinkle llvmc notes with <tt>.
...
Also removes some trailing whitespace.
llvm-svn: 65781
2009-03-01 18:09:47 +00:00
Duncan Sands
2efa31c91e
Tweak this a bit.
...
llvm-svn: 65772
2009-03-01 15:19:03 +00:00
Nick Lewycky
329a7285b4
Fix grammar.
...
llvm-svn: 65769
2009-03-01 09:51:07 +00:00
Nick Lewycky
f4cf146789
First pass at a document describing how to achieve LTO on Linux with gold.
...
llvm-svn: 65766
2009-03-01 09:38:29 +00:00
Duncan Sands
ac0ff99803
Another point to mention.
...
llvm-svn: 65765
2009-03-01 08:26:19 +00:00
Chris Lattner
543d2057f9
add some llvmc notes from Mikhail
...
llvm-svn: 65756
2009-03-01 02:30:21 +00:00
Bill Wendling
012bf508b5
Fix grammaro.
...
llvm-svn: 65727
2009-02-28 22:12:54 +00:00
Chris Lattner
7138f9c917
add a stub for Roadsend PHP
...
llvm-svn: 65705
2009-02-28 18:58:01 +00:00
Chris Lattner
0472bd03d4
don't use the word 'aggregate' with constants, it is confusing.
...
llvm-svn: 65702
2009-02-28 18:32:25 +00:00
Chris Lattner
61fca97b76
don't redescribe bitcast constraints in two places. It is not valid to
...
bitcast from one aggregate to another.
llvm-svn: 65700
2009-02-28 18:27:03 +00:00
Nick Lewycky
3134ef23bb
Update this text for first-class aggregates.
...
llvm-svn: 65697
2009-02-28 17:30:06 +00:00
Bill Wendling
a054357656
Fix typo. Found by William Moss.
...
llvm-svn: 65693
2009-02-28 12:26:34 +00:00
Gabor Greif
97657f3984
document ilist_traits
...
llvm-svn: 65631
2009-02-27 13:28:07 +00:00
Gabor Greif
55ffced15e
Expand a bit on iplist. If you are more expert on this class, please review!
...
llvm-svn: 65630
2009-02-27 12:02:19 +00:00
Gabor Greif
f727fa8225
update ilist documentation and add some blurb on ilist_node
...
llvm-svn: 65629
2009-02-27 11:37:41 +00:00
Gabor Greif
a60fa9b553
update year
...
llvm-svn: 65628
2009-02-27 11:28:46 +00:00
Ted Kremenek
c72e0a278d
Update release notes for static analyzer.
...
llvm-svn: 65624
2009-02-27 07:01:32 +00:00
Chris Lattner
971ec3c55c
drop some un-edited text for pure and ldc in here.
...
llvm-svn: 65579
2009-02-26 22:33:38 +00:00
Nick Lewycky
bc0bb948cc
Remove libtool.
...
llvm-svn: 65517
2009-02-26 07:44:16 +00:00