aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-05-17 10:00:34 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-05-17 10:00:34 +0000
commit848405b164e368601797cad493f5131ea86849da (patch)
tree50e7b5cd5f2f629df63dc55b13de408f01f3ffc3 /clang/lib/Basic/VirtualFileSystem.cpp
parentde8bf2678b054d6c4eee7db2afacb8ec9e795fcc (diff)
downloadllvm-848405b164e368601797cad493f5131ea86849da.zip
llvm-848405b164e368601797cad493f5131ea86849da.tar.gz
llvm-848405b164e368601797cad493f5131ea86849da.tar.bz2
[ELF] - Do not crash when do --gc-sections for non-allocatable metadata sections.
Currently, LLD marks all non-allocatable sections except SHF_REL[A] as Live when doing GC. This can be a reason of the crash when SHF_LINK_ORDER sections are involved, because their parents can be dead. We should do GC for them correctly. The patch implements it. Differential revision: https://reviews.llvm.org/D46880 llvm-svn: 332589
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions