llvm-mirror/test
Teresa Johnson 30f6ebce41 [LTO] Handle __imp_ (dllimport) symbols consistently with lld
Summary:
Similar to what lld already does for dllimport symbols which are
prefaced with __imp_ (see lld patch r240620), strip off the __imp_
prefix in LTO. Otherwise we can get 2 separate GlobalResolution for
a single symbol, the dllimport declaration, and the definition, which
leads to incorrect LTO handling.

Fixes PR38105.

Reviewers: pcc

Subscribers: mehdi_amini, inglorion, steven_wu, dexonsmith, llvm-commits

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

llvm-svn: 337762
2018-07-23 22:33:57 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen [COFF] Fix assembly output of comdat sections without an attached symbol 2018-07-23 22:15:19 +00:00
DebugInfo
Demangle Fix a few warnings and style issues in MS demangler. 2018-07-20 18:07:33 +00:00
Examples
ExecutionEngine Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models" 2018-07-23 21:14:35 +00:00
Feature
FileCheck [FileCheck] Provide an option for FileCheck to dump original input to stderr on failure 2018-07-20 20:21:57 +00:00
Instrumentation [MSan] run materializeChecks() before materializeStores() 2018-07-20 16:28:49 +00:00
Integer
JitListener
Linker
LTO [LTO] Handle __imp_ (dllimport) symbols consistently with lld 2018-07-23 22:33:57 +00:00
MC
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86
tools [yaml2obj] Add default sh_entsize for dynamic sections 2018-07-23 18:49:04 +00:00
Transforms ConstantFolding: Avoid a crash. 2018-07-23 21:20:00 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Make check-llvm depend on llvm-undname 2018-07-20 18:42:19 +00:00
lit.cfg.py And add a lit substitution for llvm-undname, as the comment says to 2018-07-20 18:45:01 +00:00
lit.site.cfg.py.in
TestRunner.sh