summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/FunctionIndexObjectFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-12-03 02:23:33 +0000
committerRui Ueyama <ruiu@google.com>2015-12-03 02:23:33 +0000
commit43e12900d9e843d0b55557f99312c547037b7dc4 (patch)
treebdc07dbc0ee592cc82610903bedf4ddb02d005a5 /llvm/lib/Object/FunctionIndexObjectFile.cpp
parentd35fe3d984500ee57f97b1c62bc653c231bc643b (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud