llvm-6502/lib
Rafael Espindola 4ef7eafa3f Respect llvm.used in Internalize.
The language reference says that:

"If a symbol appears in the @llvm.used list, then the compiler,
assembler, and linker are required to treat the symbol as if there is
a reference to the symbol that it cannot see"

Since even the linker cannot see the reference, we must assume that
the reference can be using the symbol table. For example, a user can add
__attribute__((used)) to a debug helper function like dump and use it from
a debugger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187103 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-25 03:23:25 +00:00
..
Analysis Treat nothrow forms of ::operator delete and ::operator delete[] as 2013-07-21 23:11:42 +00:00
AsmParser Target/X86: Add explicit Win64 and System V/x86-64 calling conventions. 2013-07-12 06:02:35 +00:00
Bitcode Add a wrapper for open. 2013-07-16 19:44:17 +00:00
CodeGen Replace the "NoFramePointerElimNonLeaf" target option with a function attribute. 2013-07-25 00:34:29 +00:00
DebugInfo DebugInfo: Factor out parsing compile unit DIEs to a separate function. Improve code style and comments. 2013-07-15 08:43:35 +00:00
ExecutionEngine [mips] Use pristine object file while processing relocations. 2013-07-24 01:58:40 +00:00
IR Make these methods const correct. 2013-07-25 02:50:08 +00:00
IRReader Add 'const' qualifiers to static const char* variables. 2013-07-16 01:17:10 +00:00
Linker Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. 2013-05-28 15:17:05 +00:00
MC Revert "Remove use of asymmetric std::lower_bound comparator." 2013-07-23 17:44:11 +00:00
Object Delete the buffer in createObjectFile if it fails. 2013-07-24 14:00:26 +00:00
Option Silence gcc warning. 2013-07-22 21:29:28 +00:00
Support Don't leak when expanding response files. 2013-07-24 14:32:01 +00:00
TableGen keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
Target Replace the "NoFramePointerElimNonLeaf" target option with a function attribute. 2013-07-25 00:34:29 +00:00
Transforms Respect llvm.used in Internalize. 2013-07-25 03:23:25 +00:00
CMakeLists.txt Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00
LLVMBuild.txt Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00
Makefile Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00