This is an archive of the discontinued LLVM Phabricator instance.

CodeGen: Don't form weak dllexport aliases
ClosedPublic

Authored by majnemer on Oct 24 2014, 3:09 PM.

Details

Summary

The MS linker cannot do anything interesting with these, it doesn't make
sense to emit them.

This fixes PR21373.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer updated this revision to Diff 15443.Oct 24 2014, 3:09 PM
majnemer retitled this revision from to CodeGen: Don't form weak dllexport aliases.
majnemer updated this object.
majnemer added a reviewer: hans.
majnemer added a subscriber: Unknown Object (MLST).
hans accepted this revision.Oct 24 2014, 3:13 PM
hans edited edge metadata.

lgtm

test/CodeGenCXX/dllexport.cpp
608 ↗(On Diff #15443)

Maybe put the PR number in the comment as well.

This revision is now accepted and ready to land.Oct 24 2014, 3:13 PM
majnemer closed this revision.Oct 24 2014, 3:16 PM
majnemer updated this revision to Diff 15445.

Closed by commit rL220595 (authored by @majnemer).