[PATCH] D52610: [Esan] Port cache frag to FreeBSD
Kamil Rytarowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 9 17:24:15 PDT 2018
krytarowski added inline comments.
================
Comment at: lib/CodeGen/BackendUtil.cpp:323
Opts.ToolType = EfficiencySanitizerOptions::ESAN_CacheFrag;
- else if (LangOpts.Sanitize.has(SanitizerKind::EfficiencyWorkingSet))
+ else if (T.getOS() == Triple::Linux &&
+ LangOpts.Sanitize.has(SanitizerKind::EfficiencyWorkingSet))
----------------
Is it possible to port it to FreeBSD and skip some conditions in generic code?
Repository:
rC Clang
https://reviews.llvm.org/D52610
More information about the cfe-commits
mailing list