aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2015-02-23 00:04:49 +0000
committerShankar Easwaran <shankare@codeaurora.org>2015-02-23 00:04:49 +0000
commitde4a31909f32c1ccc07e03943476c6c7be583f9a (patch)
tree55ee9b34e116156b7074306ff533e39ac9b343fa /clang/lib/Frontend/InitPreprocessor.cpp
parent8d22abdd59b1bf7cc3e7a45891f7a96dca0c18d6 (diff)
downloadllvm-de4a31909f32c1ccc07e03943476c6c7be583f9a.zip
llvm-de4a31909f32c1ccc07e03943476c6c7be583f9a.tar.gz
llvm-de4a31909f32c1ccc07e03943476c6c7be583f9a.tar.bz2
[ELF] Add .gnu.linkonce support.
When the GNU linker sees two input sections with the same name, and the name starts with ".gnu.linkonce.", the linker will only keep one copy and discard the other. Any section whose name starts with “.gnu.linkonce.” is a COMDAT section. Some architectures like Hexagon use this section to store floating point constants, that need be deduped. This patch adds gnu.linkonce functionality to the ELFReader. llvm-svn: 230194
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions