llvm-project/llvm/test/LTO/Resolution/X86
Matthew Voss 62fcfc5adb [ThinLTO] Remove dllimport attribute from locally defined symbols
Summary:
The LTO/ThinLTO driver currently creates invalid bitcode by setting 
symbols marked dllimport as dso_local. The compiler often has access 
to the definition (often dllexport) and the declaration (often 
dllimport) of an object at link-time, leading to a conflicting 
declaration. This patch resolves the inconsistency by removing the
dllimport attribute.

Reviewers: tejohnson, pcc, rnk, echristo

Reviewed By: rnk

Subscribers: dmikulin, wristow, mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, dang, llvm-commits

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

llvm-svn: 349667
2018-12-19 19:07:45 +00:00
..
Inputs [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
alias-alias.ll [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
alias.ll
asm-output.ll
available-externally.ll LTO: Don't internalize available_externally globals. 2018-12-05 00:09:36 +00:00
cache-dso-local.ll
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 [ThinLTO] Keep non-prevailing (linkonce|weak)_odr symbols live 2018-10-08 15:12:48 +00:00
comdat-mixed-lto.ll
comdat.ll
common2.ll
commons.ll
dead-strip-alias.ll
dead-strip-fulllto.ll [LTO] Drop non-prevailing definitions only if linkage is not local or appending 2018-11-08 20:10:07 +00:00
diagnostic-handler-remarks-with-hotness.ll Enrich inline messages 2018-08-05 14:53:08 +00:00
diagnostic-handler-remarks.ll Enrich inline messages 2018-08-05 14:53:08 +00:00
empty-bitcode.test
export-jumptable.ll [LowerTypeTests] Limit when icall jumptable entries are emitted 2018-07-13 19:57:39 +00:00
function-alias-non-prevailing.ll
ifunc.ll
intrinsic.ll
link-odr-availextern.ll
linker-redef-thin.ll
linker-redef.ll
linkonce.ll
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-lto.ll [LTO] Load sample profile in LTO link step. 2018-11-15 18:06:42 +00:00
load-sample-prof.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
local-def-dllimport.ll [ThinLTO] Remove dllimport attribute from locally defined symbols 2018-12-19 19:07:45 +00:00
lowertypetests.ll
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
not-prevailing-variables.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
not-prevailing.ll
setting-dso-local.ll
symtab-elf.ll
symtab.ll
type-checked-load.ll