This is an archive of the discontinued LLVM Phabricator instance.

Some updates/fixes to the creduce script.
ClosedPublic

Authored by akhuang on Nov 12 2020, 11:37 AM.

Details

Summary

This was motivated by changes to llvm's not --crash disabling symbolization
but I ended up removing not from the script entirely because it
returns differently depending on whether clang "crashes" or exits for some
other reason. The script had to choose between calling not and not --crash
and sometimes it was wrong.

The script also now disables symbolization when we don't read the stack
trace because symbolizing is kind of slow.

Diff Detail

Event Timeline

akhuang created this revision.Nov 12 2020, 11:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2020, 11:37 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
akhuang requested review of this revision.Nov 12 2020, 11:37 AM

thanks!

clang/utils/creduce-clang-crash.py
156

nit return any(name in func_name for name in filters)?

This revision is now accepted and ready to land.Nov 12 2020, 12:55 PM
akhuang updated this revision to Diff 304964.Nov 12 2020, 1:40 PM
akhuang marked an inline comment as done.

address comment

This revision was landed with ongoing or failed builds.Nov 12 2020, 1:40 PM
This revision was automatically updated to reflect the committed changes.