This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] provide a runtime flag for printing remaining threads in error report as an extra information
ClosedPublic

Authored by Enna1 on Apr 17 2023, 4:57 AM.

Details

Summary

This patch adds a runtime flag print_live_threads_info, which defaults to true, controls whether or not prints remaining threads in error report as an extra information.
We(ByteDance) are in the process of enabling hwasan for our server-side applications on AArch64/Linux, these server-side applications have thousands of threads, so it is nice to have this option.

Diff Detail

Event Timeline

Enna1 created this revision.Apr 17 2023, 4:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2023, 4:57 AM
Enna1 updated this revision to Diff 514173.Apr 17 2023, 5:34 AM

clang-format

Enna1 published this revision for review.Apr 17 2023, 5:36 AM
Enna1 added reviewers: vitalybuka, eugenis.
Enna1 added a subscriber: MTC.
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2023, 5:36 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
Enna1 edited the summary of this revision. (Show Details)Apr 17 2023, 8:19 AM
fmayer accepted this revision.Apr 17 2023, 2:50 PM
This revision is now accepted and ready to land.Apr 17 2023, 2:50 PM