This is an archive of the discontinued LLVM Phabricator instance.

Use ErrorOr for the ::create factory on instrumented and sample profilers.
ClosedPublic

Authored by dnovillo on Nov 2 2014, 12:37 PM.

Details

Summary

As discussed in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141027/242445.html,
the creation of reader and writer instances is better done using
ErrorOr. There are no functional changes, but several callers needed to
be adjusted.

Diff Detail

Event Timeline

dnovillo updated this revision to Diff 15676.Nov 2 2014, 12:37 PM
dnovillo retitled this revision from to Use ErrorOr for the ::create factory on instrumented and sample profilers..
dnovillo updated this object.
dnovillo edited the test plan for this revision. (Show Details)
dnovillo added a reviewer: bogner.
dnovillo added a subscriber: Unknown Object (MLST).
dnovillo closed this revision.Nov 2 2014, 5:02 PM
dnovillo updated this revision to Diff 15680.

Closed by commit rL221120 (authored by @dnovillo).