llvm-6502/utils
Duncan Sands 667d4b8de6 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66339 91177308-0d34-0410-b5e6-96231b3b80d8
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 remove attributions from utils. 2007-12-29 20:37:13 +00:00
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 remove attributions from utils. 2007-12-29 20:37:13 +00:00
DSAclean.py
DSAextract.py
findmisopt Make use of the llvm-ld tool's new ability to read input from stdin to extract 2007-08-13 06:19:51 +00:00
findoptdiff The -funcresolve and -raise options no longer exist. 2007-03-22 21:06:50 +00:00
findsym.pl Fix a comment. 2006-08-09 19:40:13 +00:00
GenLibDeps.pl Tell GenLibDeps.pl to inspect .so and .dylib shared files. 2008-11-12 20:39:06 +00:00
getsrcs.sh remove attributions from utils. 2007-12-29 20:37:13 +00:00
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 remove attributions from utils. 2007-12-29 20:37:13 +00:00
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 Update makellvm to return correct result code. 2008-08-13 20:43:56 +00:00
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 Test modified svn mailer 2007-07-03 21:57:50 +00:00
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl update this to use llvm-config, patch by Jose M. Moya 2007-09-11 17:09:54 +00:00
RegressionFinder.pl
userloc.pl Make all tools that use llvmdo have a -topdir option that allows the top 2006-08-14 18:49:05 +00:00
webNLT.pl