aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-04-21 17:11:39 +0000
committerDavide Italiano <davide@freebsd.org>2016-04-21 17:11:39 +0000
commit58f02d0644a924d594045e0cfcaa4bfd40d620aa (patch)
treef0c76c70ea40135a52f9a4b0a1dd8f9d5d14001b /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parentac55090e96787a31bfdb9ffa1fb8d0760f666db7 (diff)
downloadllvm-58f02d0644a924d594045e0cfcaa4bfd40d620aa.zip
llvm-58f02d0644a924d594045e0cfcaa4bfd40d620aa.tar.gz
llvm-58f02d0644a924d594045e0cfcaa4bfd40d620aa.tar.bz2
[LTO] An interesting case which shows up how we handle common symbols.
The gold plugin logic for common symbols is a little bit convoluted as the plugin API has not an explicit way to update the alignment. In gold, then, we need to keep the bitcode symbol @a around because that's the only way to get the alignment right in the final object. In lld, this is not true. We already have all the informations we need about common symbols (size/alignment) so we don't have to keep the existing symbol and pass it to the mover. llvm-svn: 267007
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions