This is an archive of the discontinued LLVM Phabricator instance.

[XRay][tools] Remove some assertions in llvm-xray graph
ClosedPublic

Authored by dberris on Mar 30 2017, 5:32 PM.

Details

Summary

Assertions assuming that function calls may not have zero durations do
not seem to hold in the wild. There are valid cases where the conversion
of the tsc counters end up becoming zero-length durations. These
assertions don't really hold and the algorithms don't need those to be
true for them to work.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Mar 30 2017, 5:32 PM
This revision was automatically updated to reflect the committed changes.