forked from OSchip/llvm-project
681fbb64a4
The current code that handles personality functions when creating a module summary does not correctly handle the case where a function's personality function operand refers to the function indirectly (e.g. via a bitcast). This patch handles such cases by treating personality function references like any other reference, i.e. by adding them to the function's reference list. This has the minor side benefit of allowing personality functions to participate in early dead stripping. We do this by calling findRefEdges on the function itself. This way we also end up handling other function operands (specifically prefix data and prologue data) for free. Differential Revision: https://reviews.llvm.org/D37553 llvm-svn: 312698 |
||
---|---|---|
.. | ||
alias_import.ll | ||
alias_resolution.ll | ||
autoupgrade.bc | ||
cache-icall.ll | ||
cache-import-lists1.ll | ||
cache-import-lists2.ll | ||
cache-typeid-resolutions-import.ll | ||
cache-typeid-resolutions1.ll | ||
cache-typeid-resolutions2.ll | ||
cache-typeid-resolutions3.ll | ||
cache.ll | ||
crash_debuginfo.ll | ||
deadstrip.ll | ||
debuginfo-compositetype-import.ll | ||
debuginfo-cu-import.ll | ||
diagnostic-handler-remarks.ll | ||
dicompositetype-unique.ll | ||
distributed_import.ll | ||
distributed_indexes.ll | ||
drop-debug-info.bc | ||
drop-debug-info.ll | ||
emit_imports.ll | ||
empty.ll | ||
empty_module_with_cache.ll | ||
export.ll | ||
funcimport-tbaa.ll | ||
funcimport.ll | ||
funcimport2.ll | ||
import_opaque_type.ll | ||
lazyload_metadata.ll | ||
linkonce_aliasee_ref_import.ll | ||
linkonce_resolution_comdat.ll | ||
llvm.used.ll | ||
local_name_conflict1.ll | ||
local_name_conflict2.ll | ||
merge-triple.ll | ||
module_asm.ll | ||
module_asm2.ll | ||
personality-local.ll | ||
personality.ll | ||
reference_non_importable.ll | ||
referenced_by_constant.ll | ||
section.ll | ||
select_right_alias_definition1.ll | ||
select_right_alias_definition2.ll | ||
weak_resolution.ll |