hanchenye-llvm-project/llvm/lib
Saleem Abdulrasool 99f479abcf CodeGen: handle llvm.used properly for COFF
`llvm.used` contains a list of pointers to named values which the
compiler, assembler, and linker are required to treat as if there is a
reference that they cannot see.  Ensure that the symbols are preserved
by adding an explicit `-include` reference to the linker command.

llvm-svn: 323017
2018-01-20 00:28:02 +00:00
..
Analysis [InstSimplify] use m_Specific and commutative matcher to reduce code; NFCI 2018-01-19 16:12:55 +00:00
AsmParser Allow dso_local on ifunc. 2018-01-12 17:03:43 +00:00
BinaryFormat Simplify. 2017-10-19 01:32:18 +00:00
Bitcode [NFC] fix trivial typos in comments 2018-01-17 12:29:38 +00:00
CodeGen CodeGen: handle llvm.used properly for COFF 2018-01-20 00:28:02 +00:00
DebugInfo [DWARFv5] Number the line-table's directory array correctly. 2018-01-18 20:33:35 +00:00
Demangle Silence a bunch of implicit fallthrough warnings 2017-12-19 22:05:25 +00:00
ExecutionEngine Fix -Wunused-variable. 2018-01-19 22:56:04 +00:00
FuzzMutate [FuzzMutate] Don't crash when mutator is unable to find operation 2017-12-19 08:52:51 +00:00
Fuzzer [libFuzzer] Delete llvm/lib/Fuzzer 2017-10-16 20:48:19 +00:00
IR CodeGen: handle llvm.used properly for COFF 2018-01-20 00:28:02 +00:00
IRReader Remove redundant includes from various places. 2017-12-13 21:31:03 +00:00
LTO Don't drop dso_local in LTO. 2018-01-18 05:38:43 +00:00
LineEditor
Linker Fix crash when linking metadata with ODR type uniquing 2018-01-09 18:32:53 +00:00
MC [WebAssembly] MC: Start table at offset 1 rather than 0 2018-01-19 18:57:01 +00:00
Object [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
ObjectYAML [WebAssembly] Add COMDAT support 2018-01-09 23:43:14 +00:00
Option [Option] For typo '-foo', suggest '--foo' 2018-01-09 19:38:04 +00:00
Passes Add a pass to generate synthetic function entry counts. 2018-01-09 19:39:35 +00:00
ProfileData Remove superfluous copies in sample profiling. 2017-12-28 18:10:41 +00:00
Support Fallback option for colorized output when terminfo isn't available 2018-01-19 17:10:55 +00:00
TableGen Avoid int to string conversion in Twine or raw_ostream contexts. 2017-12-28 16:58:54 +00:00
Target [X86] Teach X86 codegen to use vector width preference to avoid promoting to 512-bit types when VLX is enabled and the preference is for a smaller size. 2018-01-20 00:26:12 +00:00
Testing Force #define GTEST_LANG_CXX11. 2017-10-27 21:12:28 +00:00
ToolDrivers Remove redundant includes from various places. 2017-12-13 21:31:03 +00:00
Transforms [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
XRay [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
CMakeLists.txt Moving libFuzzer from LLVM to compiler-rt. 2017-08-21 23:25:12 +00:00
LLVMBuild.txt Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00