GWP-ASan implementation uses standard C++ headers. When C++ library
is being built as part of the toolchain rather than relying on the
host one, we need to make sure that headers are in place before we
start building GWP-ASan otherwise the build will fail. This is the
same solution that's already used by other runtimes: ASan, HWASan,
libFuzzer and XRay.
Details
Details
- Reviewers
morehouse vitalybuka smeenai beanz hctim
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
Comment Actions
Seems reasonable to me if we're fine with using libc++. Mitch, did you intend to introduce the libc++ dependency include <ctime> here?
Comment Actions
I've filed D62048 which should resolve the build order discrepancy. Would prefer to do that rather than this as GWP-ASan shouldn't need to clash swords with c++ standard library, as it shouldn't be using it in the first place :)