[PATCH] add supporting of the sanitizer arguments into Clang on FreeBSD platform.
Alexey Samsonov
samsonov at google.com
Fri Mar 7 05:57:14 PST 2014
Please add a testcase. It should probably go to test/Driver/sanitizer-ld.c
================
Comment at: lib/Driver/Tools.cpp:1776
@@ -1776,1 +1775,3 @@
+ const llvm::Triple &Triple = TC.getTriple();
+ llvm::sys::path::append(Res, "lib", Triple.getOSTypeName(Triple.getOS()));
return Res;
----------------
Please note that we expect "darwin" directory on Mac OS X / iOS. Maybe it makes sense to special-case freebsd for now.
http://llvm-reviews.chandlerc.com/D2644
More information about the cfe-commits
mailing list