This is an archive of the discontinued LLVM Phabricator instance.

[clang][Fuchsia] Add relative-vtables + asan multilibs
ClosedPublic

Authored by leonardchan on Jan 22 2021, 11:23 AM.

Details

Summary

We're choosing to take an opt-in approach for landing Relative VTables, so we'll need asan-equivalent multilibs with relative vtables enabled. Afterwards, we can just flip the switch in our build.

Diff Detail

Event Timeline

leonardchan created this revision.Jan 22 2021, 11:23 AM
leonardchan requested review of this revision.Jan 22 2021, 11:23 AM
phosek accepted this revision.Jan 25 2021, 2:43 PM

LGTM

clang/lib/Driver/ToolChains/Fuchsia.cpp
222

Could you leave a TODO to remove this once relative vtables are the default for Fuchsia?

This revision is now accepted and ready to land.Jan 25 2021, 2:43 PM
leonardchan marked an inline comment as done.Jan 25 2021, 3:24 PM