diff options
author | Rui Ueyama <ruiu@google.com> | 2015-12-03 02:23:33 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-12-03 02:23:33 +0000 |
commit | 43e12900d9e843d0b55557f99312c547037b7dc4 (patch) | |
tree | bdc07dbc0ee592cc82610903bedf4ddb02d005a5 /llvm/lib/Object/FunctionIndexObjectFile.cpp | |
parent | d35fe3d984500ee57f97b1c62bc653c231bc643b (diff) | |
download | bcm5719-llvm-43e12900d9e843d0b55557f99312c547037b7dc4.tar.gz bcm5719-llvm-43e12900d9e843d0b55557f99312c547037b7dc4.zip |
COFF: Non-external COMDAT sections sholud not be merged by ICF.
If a section symbol is not external, that COMDAT section should never
be merge with other sections in other compilation unit. Previously,
we didn't take visibility into account.
Note that COMDAT sections with non-external visibility makes sense
because they can be removed by dead-stripping.
Fixes https://llvm.org/bugs/show_bug.cgi?id=25686
llvm-svn: 254578
Diffstat (limited to 'llvm/lib/Object/FunctionIndexObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions