llvm-6502/lib/AsmParser
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
..
CMakeLists.txt Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." 2010-09-13 23:59:48 +00:00
LLLexer.cpp First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
LLLexer.h Push twines deeper into SourceMgr's error handling methods. 2010-09-27 17:42:11 +00:00
LLParser.cpp First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
LLParser.h Push twines deeper into SourceMgr's error handling methods. 2010-09-27 17:42:11 +00:00
LLToken.h First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Parser.cpp MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00