This is an archive of the discontinued LLVM Phabricator instance.

Add -L args for sanitizers
AbandonedPublic

Authored by garious on Apr 8 2014, 3:42 PM.

Details

Reviewers
samsonov
Summary

Before this patch, -fsanitize implied a hardcoded path to the
sanitizer runtimes. With this patch, the driver adds a
default search path for those runtimes with can be overridden
by the user. The sanitizer test suite uses this feature to
test itself in isolation.

Diff Detail

Event Timeline

garious added a subscriber: Unknown Object (MLST).Apr 10 2014, 12:08 PM

Ping

garious added a subscriber: Unknown Object (MLST).Apr 14 2014, 2:13 PM

It looks like this patch might be against clang? If so,
please move to cfe-commits.

Adding cfe-commits

I will take a look shortly. Sorry for delay.

garious updated this revision to Unknown Object (????).Apr 17 2014, 6:25 PM

Also split up the profiler arguments into -L${rsc_dir} and -lprofile-${arch}

garious abandoned this revision.Apr 28 2014, 12:10 PM