llvm-project/llvm/test/ThinLTO/X86/Inputs
George Rimar 1e94ca115d [lib/Analysis] - Mark personality functions as live.
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
2017-08-22 08:50:56 +00:00
..
alias_import.ll
alias_resolution.ll
autoupgrade.bc
cache-icall.ll Fix thinlto cache key computation for cfi-icall. 2017-08-09 23:24:07 +00:00
cache-import-lists1.ll LTO: Hash the set of imported symbols for each module. 2017-03-03 20:25:30 +00:00
cache-import-lists2.ll LTO: Hash the set of imported symbols for each module. 2017-03-03 20:25:30 +00:00
cache-typeid-resolutions-import.ll LTO: Hash type identifier resolutions for WholeProgramDevirt. 2017-03-10 21:37:10 +00:00
cache-typeid-resolutions1.ll LTO: Hash type identifier resolutions for LowerTypeTests. 2017-03-10 21:35:17 +00:00
cache-typeid-resolutions2.ll LTO: Hash type identifier resolutions for WholeProgramDevirt. 2017-03-10 21:37:10 +00:00
cache-typeid-resolutions3.ll LTO: Hash type identifier resolutions for WholeProgramDevirt. 2017-03-10 21:37:10 +00:00
cache.ll
crash_debuginfo.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
deadstrip.ll ThinLTO: add early "dead-stripping" on the Index 2017-01-05 21:34:18 +00:00
debuginfo-compositetype-import.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
debuginfo-cu-import.ll [ThinLTO] Import only necessary DICompileUnit fields 2016-12-12 16:09:30 +00:00
diagnostic-handler-remarks.ll [ThinLTO] Implement -pass-remarks-output in ThinLTOCodeGenerator 2016-11-19 18:20:05 +00:00
dicompositetype-unique.ll
distributed_import.ll [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
distributed_indexes.ll
drop-debug-info.bc
drop-debug-info.ll
emit_imports.ll
empty.ll
empty_module_with_cache.ll
export.ll [ThinLTO] Thin link efficiency improvement: don't re-export globals (NFC) 2016-12-15 23:50:06 +00:00
funcimport-tbaa.ll [ThinLTO] Fix assertions on lazy-loading of Metadata TBAA attachments 2017-01-07 20:24:23 +00:00
funcimport.ll
funcimport2.ll [ThinLTO] Disable importing and other cross-module optis at -O0 2016-10-31 22:12:21 +00:00
import_opaque_type.ll [ThinLTO] Fix crash when importing an opaque type 2016-11-19 18:44:16 +00:00
lazyload_metadata.ll Use lazy-loading of Metadata in MetadataLoader when importing is enabled (NFC) 2017-01-04 22:54:33 +00:00
linkonce_aliasee_ref_import.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
linkonce_resolution_comdat.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
llvm.used.ll
local_name_conflict1.ll [ThinLTO] Handle conflicting local names gracefully 2017-01-06 23:38:41 +00:00
local_name_conflict2.ll [ThinLTO] Handle conflicting local names gracefully 2017-01-06 23:38:41 +00:00
merge-triple.ll [ThinLTO] Do not assert when adding a module with a different but 2017-05-18 03:52:29 +00:00
module_asm.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
module_asm2.ll Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes." 2017-02-10 04:35:32 +00:00
personality-local.ll [lib/Analysis] - Mark personality functions as live. 2017-08-22 08:50:56 +00:00
personality.ll [lib/Analysis] - Mark personality functions as live. 2017-08-22 08:50:56 +00:00
reference_non_importable.ll [ThinLTO] Stop importing constant global vars as copies in the backend 2016-12-02 01:02:30 +00:00
referenced_by_constant.ll [ThinLTO] Stop importing constant global vars as copies in the backend 2016-12-02 01:02:30 +00:00
section.ll
select_right_alias_definition1.ll
select_right_alias_definition2.ll
weak_resolution.ll