1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/ThinLTO/X86/Inputs
Hongtao Yu e918d57031 [ThinLTO] Fix a metadata lost issue with DICompileUnit import.
For ThinLTO importing we don't need to import all the fields of the DICompileUnit, such as enums, macros, retained types lists. The importation of those fields were previously disabled by setting their value map entries to nullptr. Unfortunately a metadata node can be shared by multiple metadata operands. Setting the map entry to nullptr might result in not importing other metadata unexpectedly.  The issue is fixed by explicitly setting the original DICompileUnit fields (still a copy of the source module metadata) to null.

Reviewed By: wenlei, dblaikie

Differential Revision: https://reviews.llvm.org/D86675
2020-09-02 14:40:41 -07:00
..
alias_import.ll
alias_internal.ll
alias_resolution.ll
autoupgrade.bc
cache-icall.ll
cache-import-lists1.ll
cache-import-lists2.ll
cache-typeid-resolutions1.ll
cache-typeid-resolutions2.ll
cache-typeid-resolutions3.ll
cache-typeid-resolutions-import.ll
cache.ll
callees-metadata.ll
cfi-distributed.ll
cfi-icall-only-bazqux.ll
cfi-unsat.ll
crash_debuginfo.ll
deadstrip.ll
debuginfo-compositetype-import.ll
debuginfo-cu-import.ll
devirt2.ll
devirt_alias.ll
devirt_available_externally.ll
devirt_external_comdat_same_guid.ll
devirt_local_same_guid.ll
devirt_promote.ll
devirt_single_hybrid_bar.ll
devirt_single_hybrid_foo.ll
diagnostic-handler-remarks.ll
dicompositetype-unique2.ll
dicompositetype-unique-alias.ll
dicompositetype-unique.ll
distributed_import.ll
distributed_indexes.ll
dot-dumper2.ll
dot-dumper.ll
drop-debug-info.bc
drop-debug-info.ll
dsolocal_dllimport.ll
emit_imports2.ll
emit_imports.ll
empty_module_with_cache.ll
empty.ll
export.ll
funcimport2.ll
funcimport_alwaysinline.ll
funcimport-debug.ll
funcimport-tbaa.ll
funcimport.ll
function_entry_count.ll
globals-import-blockaddr.ll
globals-import-cf-baz.ll
globals-import.ll
guid_collision.ll
import_opaque_type.ll
import-constant.ll
import-metadata.ll [ThinLTO] Fix a metadata lost issue with DICompileUnit import. 2020-09-02 14:40:41 -07:00
import-ro-constant-bar.ll
import-ro-constant-foo.ll
index-const-prop-alias.ll
index-const-prop-cache-foo.ll
index-const-prop-cache-test1.ll
index-const-prop-cache-test2.ll
index-const-prop-comdat.ll
index-const-prop-define-g.ll
index-const-prop-full-lto.ll
index-const-prop-gvref.ll
index-const-prop-linkage.ll
index-const-prop.ll
internalize.ll
lazyload_metadata.ll
linkonce_aliasee_ref_import.ll
linkonce_odr_unnamed_addr.ll
linkonce_resolution_comdat.ll
llvm.used.ll
local_name_conflict1.ll
local_name_conflict2.ll
local_name_conflict_var1.ll
local_name_conflict_var2.ll
merge-triple.ll
module_asm2.ll
module_asm.ll
noinline.ll
personality-local.ll
personality.ll
pr35472.ll
reference_non_importable.ll
referenced_by_constant.ll
section.ll
select_right_alias_definition1.ll
select_right_alias_definition2.ll
strong_non_prevailing.ll
thinlto-internalize-doublepromoted.ll
thinlto-internalize-used2.ll
weak_resolution.ll
writeonly-with-refs.ll