diff options
author | Dmitry Mikulin <dmitry.mikulin@sony.com> | 2017-09-08 16:22:43 +0000 |
---|---|---|
committer | Dmitry Mikulin <dmitry.mikulin@sony.com> | 2017-09-08 16:22:43 +0000 |
commit | 1e30f07ce7a082f173d200e3a5706c0e31c67658 (patch) | |
tree | 0bb4d732d5988a7228ce06ec75069e1b68c82c20 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 500c25e5da14b0ad01111681733cb0c09646463f (diff) | |
download | bcm5719-llvm-1e30f07ce7a082f173d200e3a5706c0e31c67658.tar.gz bcm5719-llvm-1e30f07ce7a082f173d200e3a5706c0e31c67658.zip |
Currently lld creates a single section to collect all commons. There is no way
to separate commons based on file name patterns. The following linker script
construct does not work because commons are allocated before section placement
is done and the only synthesized BssSection that holds all commons has no file
associated with it:
SECTIONS { .common_0 : { *file0.o(COMMON) }}
This patch changes the allocation of commons to create a section per common
symbol and let the section logic do the layout.
Differential revision: https://reviews.llvm.org/D37489
llvm-svn: 312796
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions