llvm-6502/unittests
Rafael Espindola bea4626f93 First step in fixing PR8927:
Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.

If an optimization pass can show that an address is not used, it can set this.

Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.

Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.

Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123063 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-08 16:42:36 +00:00
..
ADT Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h. 2010-12-21 00:04:46 +00:00
Analysis Make SCEVUnknown a CallbackVH, so that it can be notified directly 2010-08-02 23:49:30 +00:00
ExecutionEngine unittests/CMakeLists.txt: [PR8225] Tweak linking JITTests on MSVC to add JITTests.def. 2010-11-19 03:19:42 +00:00
Support UnitTests/Path: Add magical tests. This will also test identify_magic. 2011-01-06 05:58:02 +00:00
Transforms Teach this test not to leak. Also, clean up all the cast<BinaryOperator> cruft. 2010-03-13 19:58:26 +00:00
VMCore First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
CMakeLists.txt Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h. 2010-12-21 00:04:46 +00:00
Makefile Merge System into Support. 2010-11-29 18:16:10 +00:00
Makefile.unittest unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on cygming. 2010-11-26 09:32:02 +00:00