Page MenuHomePhabricator

[asan] Speed up ASan unit tests by turning off symbolication
ClosedPublic

Authored by kubamracek on Jul 20 2015, 7:58 AM.

Details

Summary

ASan unit tests don't depend on the symbolizer and they never test its output, but currently they still run it for every crash. This patch simply disables the symbolizer for unit tests, which provides some speed up. On my system (OS X) that's about 1.4x faster, but this could be potentially much more e.g. when using atos on OS X.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 30157.Jul 20 2015, 7:58 AM
kubamracek retitled this revision from to [asan] Speed up ASan unit tests by turning off symbolication.
kubamracek updated this object.
kubamracek added reviewers: samsonov, glider, kcc.
kubamracek added subscribers: llvm-commits, samsonov, glider and 2 others.
glider accepted this revision.Jul 20 2015, 8:00 AM
glider edited edge metadata.

Good catch, indeed.
LGTM

This revision is now accepted and ready to land.Jul 20 2015, 8:00 AM
This revision was automatically updated to reflect the committed changes.