Go to file
Davide Italiano 1da3a52d11 [ELF/GC] Fix pending references to garbage collected sections.
The example reported in PR30793 shows a case where gc reclaims
a SHF_TLS section, but it doesn't reclaim the section containing
the debug info for it.
This is expected, as we do not reclaim non-alloc sections
during the garbage collection phase (and this is not going to
change anytime soon, at least this is what I gathered last I
talked with Rafael about it).
So, we end up with a pending reference, thinking that the input
was invalid (which is not true, as it's GC that removed the
SHT_TLS section, and therefore didn't create the PT_TLS *segment*
for it). In cases like this, just assign a VA of zero at relocation
time instead of error'ing out (this is what gold does as well, FWIW).

Differential Revision:  https://reviews.llvm.org/D26201

llvm-svn: 285735
2016-11-01 20:11:01 +00:00
clang clang/test/CodeGenOpenCL/convergent.cl: Satisfy -Asserts with "opt -instnamer". 2016-11-01 20:08:17 +00:00
clang-tools-extra [clang-query] Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-01 20:07:05 +00:00
compiler-rt [tsan] Enable the tsan/libcxx/ testcase(s) on Darwin 2016-10-31 20:50:15 +00:00
debuginfo-tests
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Protect exceptional paths under libcpp-no-exceptions 2016-11-01 15:46:16 +00:00
libcxxabi Spell libcxxabi-no-threads correctly 2016-10-31 14:14:04 +00:00
libunwind fix _dyld_find_unwind_sections() for pre-10.7. Patch by Jeremy Sequoia 2016-10-31 21:04:17 +00:00
lld [ELF/GC] Fix pending references to garbage collected sections. 2016-11-01 20:11:01 +00:00
lldb Implement a general type scavenger that can dig types from debug info + a filtering mechanism to accept/reject results thusly obtained 2016-11-01 18:50:49 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [InstCombine] allow splat vector folds in adjustMinMax() 2016-11-01 20:08:02 +00:00
openmp Fixed problem introduced by part of https://reviews.llvm.org/D21196. 2016-11-01 16:19:04 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly [ScopDetect] Use SCEVRewriteVisitor to simplify SCEVRemoveSMax rewriter 2016-10-29 06:19:34 +00:00