summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-10-02 17:22:05 +0000
committerNick Kledzik <kledzik@apple.com>2014-10-02 17:22:05 +0000
commit32d0d09bf888c09f469d3239f9f3344c55055e45 (patch)
tree410af67241c8b411d1203c5611f3780aaa6e41b0 /clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
parentad69e64761bf27de1cd9c23262c634f360d21403 (diff)
downloadbcm5719-llvm-32d0d09bf888c09f469d3239f9f3344c55055e45.tar.gz
bcm5719-llvm-32d0d09bf888c09f469d3239f9f3344c55055e45.zip
Preserve custom section names when coalescing.
The mergeByContent attribute on DefinedAtoms triggers the symbol table to coalesce atoms with the exact same content. The problem is that atoms can also have a required custom section. The coalescing should never change the custom section of an atom. The fix is to only consider to atoms to have the same content if their sectionChoice() and customSectionName() attributes match. llvm-svn: 218893
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud