This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Support sanitized libraries on Fuchsia
ClosedPublic

Authored by phosek on Oct 22 2018, 12:41 AM.

Details

Summary

When using sanitizers, add <resource_dir>/<target>/lib/<sanitizer>
to the list of library paths to support using sanitized version of
runtime libraries if available.

Diff Detail

Repository
rC Clang

Event Timeline

phosek created this revision.Oct 22 2018, 12:41 AM
mcgrathr accepted this revision.Oct 23 2018, 12:46 PM

lgtm

clang/lib/Driver/ToolChains/CommonArgs.cpp
566 ↗(On Diff #170372)

!LibPath.empty()?

This revision is now accepted and ready to land.Oct 23 2018, 12:46 PM
phosek updated this revision to Diff 170805.Oct 23 2018, 6:49 PM
phosek marked an inline comment as done.
This revision was automatically updated to reflect the committed changes.