This is an archive of the discontinued LLVM Phabricator instance.

Driver: add support for linking the UBSan runtime library on Windows.
ClosedPublic

Authored by pcc on Jun 30 2015, 11:01 PM.

Details

Summary

On Windows the user may invoke the linker directly, so we might not have an
opportunity to add runtime library flags to the linker command line. Instead,
instruct the code generator to embed linker directive in the object file
that cause the required runtime libraries to be linked.

We might also want to do something similar for ASan, but it seems to have
its own special complexities which may make this infeasible.

Diff Detail

Event Timeline

pcc updated this revision to Diff 28847.Jun 30 2015, 11:01 PM
pcc retitled this revision from to Driver: add support for linking the UBSan runtime library on Windows..
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: samsonov.
pcc added a subscriber: Unknown Object (MLST).
samsonov accepted this revision.Jul 1 2015, 11:12 AM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 1 2015, 11:12 AM
This revision was automatically updated to reflect the committed changes.