llvm-project/llvm/test/LTO/Resolution/X86
Teresa Johnson 9766fd64fb [ThinLTO] Add per-module indexes to combined index consistently
Summary:
Without this change we only add module paths to the combined index when
there is a module hash or at least one global value. Make this more
consistent by adding the module to the index whenever there is a summary
section, and it is a per-module summary (had a MODULE_CODE_SOURCE_FILENAME
record).

Since we will no longer add module paths lazily, add a new interface to get
the module info from the index that asserts it is already added.

Fixes PR37899.

Reviewers: Vlad, pcc

Subscribers: mehdi_amini, inglorion, steven_wu, llvm-commits

Differential Revision: https://reviews.llvm.org/D48511

llvm-svn: 335567
2018-06-26 01:32:58 +00:00
..
Inputs [ThinLTO] - Stop internalizing and drop non-prevailing symbols. 2018-01-29 08:03:30 +00:00
alias.ll
asm-output.ll
cache-dso-local.ll LTO: Include dso-local bit in ThinLTO cache key. 2018-02-05 17:17:51 +00:00
cache-dso-local2.ll LTO: Also include dso-local bit for calls in ThinLTO cache key. 2018-02-05 23:46:32 +00:00
cache-prevailing.ll LTO: Include live bit in ThinLTO cache key. 2018-02-09 05:58:55 +00:00
comdat-mixed-lto.ll [LTO][ThinLTO] Use the linker resolutions to mark global values as dso_local. 2017-11-04 17:04:39 +00:00
comdat.ll Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
common2.ll [ThinLTO] Disallow multiple prevailing defs 2017-12-15 16:27:33 +00:00
commons.ll [LTO][ThinLTO] Use the linker resolutions to mark global values as dso_local. 2017-11-04 17:04:39 +00:00
dead-strip-alias.ll [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
dead-strip-fulllto.ll [ThinLTO] Disallow multiple prevailing defs 2017-12-15 16:27:33 +00:00
diagnostic-handler-remarks-with-hotness.ll [LTO] Allow pass remarks with hotness to be set when emitting to stderr 2018-05-04 23:59:34 +00:00
diagnostic-handler-remarks.ll [ThinLTO] Add support for optimization remarks to thinBackend 2018-05-03 20:24:12 +00:00
empty-bitcode.test
export-jumptable.ll LTO: Export functions referenced by the CFI jump table. 2017-07-19 18:18:19 +00:00
function-alias-non-prevailing.ll Linker: Create a function declaration when moving a non-prevailing alias of function type. 2017-08-10 01:07:44 +00:00
ifunc.ll [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
intrinsic.ll
link-odr-availextern.ll
linker-redef-thin.ll [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
linker-redef.ll Symbols re-defined with -wrap and -defsym need to be excluded from inter- 2017-06-05 16:24:25 +00:00
linkonce.ll [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
lit.local.cfg
load-sample-prof-icp.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
load-sample-prof.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
lowertypetests.ll Reland r313157, "ThinLTO: Correctly follow aliasee references when dead stripping." which was reverted in r313222. 2017-09-14 05:02:59 +00:00
mixed_lto.ll
mod-asm-used.ll [ThinLTO] Add per-module indexes to combined index consistently 2018-06-26 01:32:58 +00:00
multi-thinlto.ll
not-prevailing-alias.ll [ThinLTO] Convert dead alias to declarations 2018-02-05 15:44:27 +00:00
not-prevailing-variables.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
not-prevailing.ll LTO: Drop comdats when converting definitions to declarations. 2018-01-31 02:51:03 +00:00
setting-dso-local.ll Don't drop dso_local in LTO. 2018-01-18 05:38:43 +00:00
symtab-elf.ll IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
symtab.ll Object: Improve COFF irsymtab comdat representation. 2017-11-21 22:06:20 +00:00
type-checked-load.ll PMB: Run the whole-program-devirt pass during LTO at --lto-O0. 2017-05-26 18:27:13 +00:00