hanchenye-llvm-project/llvm/lib
Rafael Espindola f2e71244c6 Fix logic for which symbols to keep with comdats.
If a comdat is dropped, all symbols in it are dropped.
If a comdat is kept, the symbols survive to pass regular symbol
resolution.
With this patch we do that for all global symbols.

The added test is a copy of test/tools/gold/X86/comdat.ll that we now
pass.

llvm-svn: 264192
2016-03-23 21:16:33 +00:00
..
Analysis Add getBlockProfileCount method to BlockFrequencyInfo 2016-03-23 18:18:26 +00:00
AsmParser DebugInfo: Add ability to not emit DW_AT_vtable_elem_location for virtual functions. 2016-03-17 23:58:03 +00:00
Bitcode Add getBlockProfileCount method to BlockFrequencyInfo 2016-03-23 18:18:26 +00:00
CodeGen SelectionDAG: Remove a tautological dyn_cast. NFC 2016-03-23 18:15:33 +00:00
DebugInfo Fix a crash in running llvm-objdump -t with an invalid Mach-O file already 2016-03-23 20:27:00 +00:00
ExecutionEngine Fix a crash in running llvm-objdump -t with an invalid Mach-O file already 2016-03-23 20:27:00 +00:00
Fuzzer [libFuzzer] add a flag close_fd_mask so that we can silence spammy targets by closing stderr/stdout 2016-03-18 20:58:29 +00:00
IR Revert "Support arbitrary addrspace pointers in masked load/store intrinsics" 2016-03-22 20:24:34 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [ThinLTO] Renaming of function index to module summary index (NFC) 2016-03-15 00:04:37 +00:00
LibDriver Remove autoconf support 2016-01-26 21:29:08 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Fix logic for which symbols to keep with comdats. 2016-03-23 21:16:33 +00:00
MC MC: Don't access the filesystem in MCContext's constructor 2016-03-22 22:24:29 +00:00
Object Fix a crash in running llvm-objdump -t with an invalid Mach-O file already 2016-03-23 20:27:00 +00:00
ObjectYAML Forgot to commit this with r263692 2016-03-17 16:55:11 +00:00
Option Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData Variable name cleanup /NFC 2016-03-16 22:13:41 +00:00
Support APFloat: Add frexp 2016-03-21 16:49:16 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target [x86] make peekThroughBitcasts() a helper function 2016-03-23 20:16:37 +00:00
Transforms Fix bugs in the MemorySSA walker. 2016-03-23 18:31:55 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00