1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/utils
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
..
buildit Don't try to strip a file we just moved. 2009-02-11 00:14:53 +00:00
emacs Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
fpcmp
lint * Fixed spelling 2009-02-20 23:44:54 +00:00
PerfectShuffle these utils don't need exports. 2009-02-26 19:02:23 +00:00
TableGen Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
unittest Fix MingW build: define GTEST_OS_WINDOWS if OS is MingW, but disable 2009-02-12 08:02:35 +00:00
vim Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl Tell GenLibDeps.pl to inspect .so and .dylib shared files. 2008-11-12 20:39:06 +00:00
getsrcs.sh
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvm.grm Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
llvmdo remove some exclusions that don't exist anymore. 2009-01-08 19:02:03 +00:00
llvmgrep
Makefile Moved Google Test code up one directory so that we can use a standard LLVM 2009-01-01 01:29:44 +00:00
makellvm
mkpatch Original patch by Talin. 2009-01-01 02:24:48 +00:00
NewNightlyTest.pl Deleted trailing whitespace; no functional changes. 2009-01-02 16:28:18 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl
RegressionFinder.pl
userloc.pl
webNLT.pl