summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenTBAA.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2015-05-08 16:47:21 +0000
committerDerek Schuff <dschuff@google.com>2015-05-08 16:47:21 +0000
commit2312bd38114c932374f37aa4fe6c8fefc763dbfb (patch)
treea35e7f252d2bda095536bdf987bbaadc0188809c /clang/lib/CodeGen/CodeGenTBAA.cpp
parent049887b252f7f7cca78ade06f03075f0df8d247c (diff)
downloadbcm5719-llvm-2312bd38114c932374f37aa4fe6c8fefc763dbfb.tar.gz
bcm5719-llvm-2312bd38114c932374f37aa4fe6c8fefc763dbfb.zip
Do not emit thunks with available_externally linkage in comdats
Functions with available_externally linkage will not be emitted to object files (they will just be undefined symbols), so it does not make sense to put them in comdats. Creates a second overload of maybeSetTrivialComdat that uses the GlobalObject instead of the Decl, and uses that in several places that had the faulty logic. Differential Revision: http://reviews.llvm.org/D9580 llvm-svn: 236879
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud