[PATCH] D38525: Cleanup and generalize -shared-libasan.
Evgenii Stepanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 5 13:05:11 PDT 2017
eugenis added inline comments.
================
Comment at: clang/lib/Driver/SanitizerArgs.cpp:614
+ if (Arg *A = Args.getLastArg(options::OPT_shared_libsan,
+ options::OPT_static_libsan))
+ SharedRuntime = A->getOption().matches(options::OPT_shared_libsan);
----------------
vitalybuka wrote:
> ```
> SharedRuntime = Args.hasFlag(options::OPT_shared_libsan,,
> options::OPT_static_libsan,
> TC.getTriple().isAndroid() || TC.getTriple().isOSFuchsia());
> ```
good!
https://reviews.llvm.org/D38525
More information about the cfe-commits
mailing list