diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-07-23 22:33:57 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-07-23 22:33:57 +0000 |
commit | b963c0b658cc54b370832df4f5a3d63fd69da334 (patch) | |
tree | b4d12f19720226fff7e8b17566b022470b7f7710 /libcxx/src/debug.cpp | |
parent | fc3d72eeea942e71a4dc5174e925a5e7d52a7e5a (diff) | |
download | bcm5719-llvm-b963c0b658cc54b370832df4f5a3d63fd69da334.tar.gz bcm5719-llvm-b963c0b658cc54b370832df4f5a3d63fd69da334.zip |
[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
Diffstat (limited to 'libcxx/src/debug.cpp')
0 files changed, 0 insertions, 0 deletions