This is an archive of the discontinued LLVM Phabricator instance.

[clang] Update clang driver to include san_common to compiler-rt libraries when necessary.
AbandonedPublic

Authored by mpividori on Jan 5 2017, 8:54 AM.

Details

Summary

This diff include changes to clang Driver related to previous modifications in compiler-rt: https://reviews.llvm.org/D28359

Diff Detail

Repository
rL LLVM

Event Timeline

mpividori updated this revision to Diff 83251.Jan 5 2017, 8:54 AM
mpividori retitled this revision from to [clang] Update clang driver to include san_common to compiler-rt libraries when necessary..
mpividori updated this object.
mpividori added reviewers: kcc, rnk, zturner.
mpividori set the repository for this revision to rL LLVM.
mpividori added a subscriber: llvm-commits.

I am not a fan of any such changes as they complicate things further.
Also, will the GCC build system and GCC driver have to change as well?

Does it actually fix any problem that exists today?

eugenis added a subscriber: eugenis.Jan 6 2017, 4:54 PM

also, what about shared-libasan? Do we split san_common into separate shared library, too?

mpividori abandoned this revision.Jan 6 2017, 7:35 PM

Thanks for your comments.
I took a different direction, so I will abandon this diff since I don't need these changes any more.
Thanks.