aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-07-30 22:48:45 +0000
committerRui Ueyama <ruiu@google.com>2015-07-30 22:48:45 +0000
commitf69ecc12123af470ed9955bbf8ee96b75aba8404 (patch)
tree059bee0651723e21a26fc7d14dd3b212efd305bf /clang/lib/Basic/FileManager.cpp
parent10ed6c361c1c0da0dcdae7366b9fb1809eb744f0 (diff)
downloadllvm-f69ecc12123af470ed9955bbf8ee96b75aba8404.zip
llvm-f69ecc12123af470ed9955bbf8ee96b75aba8404.tar.gz
llvm-f69ecc12123af470ed9955bbf8ee96b75aba8404.tar.bz2
COFF: Handle all COMDAT sections as non-GC root.
I don't remember why I thought that only functions are subject of garbage collection, but the comment here said so, which is not correct. Moreover, the code just below the comment does not do what the comment says -- it handles non-COMDAT, non-function sections as GC root. As a result, it just handles non-COMDAT sections as GC root. This patch cleans that up by removing SectionChunk::isRoot and use isCOMDAT instead. llvm-svn: 243700
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions