summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-11-27 20:42:34 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-11-27 20:42:34 +0000
commit3f2921f5ec96df28a23bdef8b50da81647a6ef57 (patch)
tree41bd85dc0253835ef2499cf9748a73a9bd68abbd /llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
parent1f34379965c1cf104921da5a6cbe7e983c7091ef (diff)
downloadbcm5719-llvm-3f2921f5ec96df28a23bdef8b50da81647a6ef57.tar.gz
bcm5719-llvm-3f2921f5ec96df28a23bdef8b50da81647a6ef57.zip
COFF: Do not create SectionChunks for discarded comdat sections.
With this change, instead of creating a SectionChunk for each section in the object file, we only create them when we encounter a prevailing comdat section. Also change how symbol resolution occurs between comdat symbols. Now only the comdat leader participates in comdat resolution, and not any other external associated symbols. This is more in line with how COFF semantics are defined, and should allow for a more straightforward implementation of non-ANY comdat types. On my machine, this change reduces our runtime linking a release build of chrome_child.dll with /nopdb from 5.65s to 4.54s (median of 50 runs). Differential Revision: https://reviews.llvm.org/D40238 llvm-svn: 319090
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud