aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ConstantInitBuilder.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-03-06 18:48:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-03-06 18:48:18 +0000
commit692b2f88d3e99a231bd6f14f359b682cdf94d61e (patch)
tree1b4da0586aba1d93f6d76ecc9158296c4829c95b /clang/lib/CodeGen/ConstantInitBuilder.cpp
parent3bbee79d9e690aee24c4f6388e83020857bb554d (diff)
downloadllvm-692b2f88d3e99a231bd6f14f359b682cdf94d61e.zip
llvm-692b2f88d3e99a231bd6f14f359b682cdf94d61e.tar.gz
llvm-692b2f88d3e99a231bd6f14f359b682cdf94d61e.tar.bz2
Fully precise gc handling of __start and __stop symbols.
This puts us at parity with bfd, which could already gc this case. I noticed the sections not being gced when linking a modified freebsd kernel. A section that was not gced and not mentioned in the linker script would end up breaking the expected layout. Since fixing the gc is relatively simple and an improvement, that seems better than trying to hack the orphan placement code. There are 173 input section in the entire link whose names are valid C identifiers, so this is probably not too performance critical. llvm-svn: 297049
Diffstat (limited to 'clang/lib/CodeGen/ConstantInitBuilder.cpp')
0 files changed, 0 insertions, 0 deletions