mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
73a3f62c9b
This is PR33245. Case I am fixing is next: Imagine we have 2 BC files, one defines and uses personality routine, second has only declaration and also uses it. Previously algorithm computing dead symbols (llvm::computeDeadSymbols) did not know about personality routines and leaved them dead even if function that has routine was live. As a result thinLTOInternalizeAndPromoteGUID() method changed binding for such symbol to local. Later when LLD tried to link these objects it failed because one object had undefined global symbol for routine and second object contained local definition instead of global. Patch set the live root flag on the corresponding FunctionSummary for personality routines when we build the per-module summaries during the compile step. Differential revision: https://reviews.llvm.org/D36834 llvm-svn: 311432 |
||
---|---|---|
.. | ||
Inputs | ||
alias_import.ll | ||
alias_resolution.ll | ||
autoupgrade.ll | ||
cache-config.ll | ||
cache-icall.ll | ||
cache-import-lists.ll | ||
cache-typeid-resolutions.ll | ||
cache.ll | ||
cfi-icall.ll | ||
crash_debuginfo.ll | ||
deadstrip.ll | ||
debuginfo-compositetype-import.ll | ||
debuginfo-cu-import.ll | ||
diagnostic-handler-remarks-with-hotness.ll | ||
diagnostic-handler-remarks.ll | ||
dicompositetype-unique.ll | ||
distributed_import.ll | ||
distributed_indexes.ll | ||
drop-debug-info.ll | ||
emit_imports.ll | ||
empty_module_with_cache.ll | ||
export.ll | ||
funcimport2.ll | ||
funcimport-tbaa.ll | ||
funcimport.ll | ||
import_opaque_type.ll | ||
internalize.ll | ||
lazyload_metadata.ll | ||
linkonce_aliasee_ref_import.ll | ||
linkonce_resolution_comdat.ll | ||
lit.local.cfg | ||
llvm.used.ll | ||
local_name_conflict.ll | ||
merge-triple.ll | ||
module_asm2.ll | ||
module_asm_glob.ll | ||
newpm-basic.ll | ||
personality-local.ll | ||
personality.ll | ||
prefix_replace.ll | ||
reference_non_importable.ll | ||
referenced_by_constant.ll | ||
save_objects.ll | ||
section.ll | ||
tli-nobuiltin.ll | ||
weak_resolution_single.ll | ||
weak_resolution.ll |