diff options
author | Eli Friedman <efriedma@quicinc.com> | 2020-09-03 20:58:56 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2020-09-11 17:23:08 -0700 |
commit | d751f86189a7f7ef2a6fe06974a5da3349b02f20 (patch) | |
tree | f6b437844ca359e62506de59dd4d63ced0d070d3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c931dc0bf596ed0a6c4531b0e1f05bd8bda566a6 (diff) | |
download | llvm-d751f86189a7f7ef2a6fe06974a5da3349b02f20.zip llvm-d751f86189a7f7ef2a6fe06974a5da3349b02f20.tar.gz llvm-d751f86189a7f7ef2a6fe06974a5da3349b02f20.tar.bz2 |
[ConstantFold] Make areGlobalsPotentiallyEqual less aggressive.
In particular, we shouldn't make assumptions about globals which are
unnamed_addr: we can fold them together with other globals.
Also while I'm here, use isInterposable() instead of trying to
explicitly name all the different kinds of weak linkage.
Fixes https://bugs.llvm.org/show_bug.cgi?id=47090
Differential Revision: https://reviews.llvm.org/D87123
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions