1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/docs
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
..
CommandGuide Document the -gcc-tool-args bugpoint option. 2009-03-02 23:15:59 +00:00
HistoricalNotes
img
tutorial mention rdynamic, PR3431, patch by Stein Roger Skafløtten! 2009-02-09 00:04:40 +00:00
AliasAnalysis.html Recommit this grammar fix that was backed out along with nocapture. 2008-12-18 02:15:05 +00:00
BitCodeFormat.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
Bugpoint.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CFEBuildInstrs.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CMake.html CMake: Added some VC++ specific info to CMake.html. 2008-12-31 14:36:41 +00:00
CodeGenerator.html Add some documentation for address-space-based access to the segment registers. 2009-01-26 02:54:45 +00:00
CodingStandards.html So *this* is where all the trailing whitespace in file header comments come 2009-01-02 16:58:42 +00:00
CommandLine.html Improve -fno-opt style option processing to not require an extra 2009-02-02 22:48:49 +00:00
CompilerDriver.html Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
CompilerDriverTutorial.html Add a comment to the auto-generated docs. 2008-12-13 17:51:47 +00:00
CompilerWriterInfo.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
DeveloperPolicy.html lex and bison aren't needed to build llvm anymore. 2009-01-02 07:10:51 +00:00
doxygen.cfg.in
doxygen.css
doxygen.footer update year 2009-02-27 11:28:46 +00:00
doxygen.header
doxygen.intro
ExceptionHandling.html Clarify a bit. Based on feedback by Talin. 2008-12-29 15:27:32 +00:00
ExtendingLLVM.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
FAQ.html fix broken GCC bugzilla link 2009-03-02 19:11:53 +00:00
GarbageCollection.html Committing unsaved changes that should've been with r66237. 2009-03-06 02:42:47 +00:00
GCCFEBuildInstrs.html * Wrap command line flag in <tt> 2009-01-03 02:35:05 +00:00
GetElementPtr.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
GettingStarted.html This bug's been fixed but a version with the fix hasn't been released yet. 2009-03-03 05:41:16 +00:00
GettingStartedVS.html lex and bison aren't needed to build llvm anymore. 2009-01-02 07:10:51 +00:00
GoldPlugin.html Add a quickstart example. 2009-03-01 21:55:10 +00:00
HowToReleaseLLVM.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
HowToSubmitABug.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
index.html move gold plugin next to LTO doc in the subsystem section 2009-03-01 23:42:51 +00:00
LangRef.html Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
Lexicon.html Fixed HTML validator warning. 2008-12-14 08:01:51 +00:00
LinkTimeOptimization.html * Comply with HTML 4.01 Strict 2008-12-16 03:07:49 +00:00
llvm.css Minimize the width of the notes region: it will end where the text ends, if the 2008-12-29 21:25:09 +00:00
Makefile
MakefileGuide.html Remove libtool. 2009-02-26 07:44:16 +00:00
Passes.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
ProgrammersManual.html Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
Projects.html Fix the instructions to work even when PATH does not contain ".". 2009-01-12 21:29:24 +00:00
ReleaseNotes.html Add some more clang related release notes. 2009-03-02 20:08:12 +00:00
SourceLevelDebugging.html Each input file is encoded as a separate compile unit in LLVM debugging 2009-01-30 18:20:31 +00:00
SystemLibrary.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
TableGenFundamentals.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
TestingGuide.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
UsingLibraries.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
WritingAnLLVMBackend.html SDOperand has been renamed to SDValue. SDNode::Val is now 2009-01-28 21:36:46 +00:00
WritingAnLLVMPass.html Eliminate several more unnecessary intptr_t casts. 2009-02-18 05:09:16 +00:00