This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF] Handle Error returned by visitLocationList
ClosedPublic

Authored by ayermolo on Apr 20 2022, 3:13 PM.

Details

Summary

Looks like implementation in llvm changed, and now we need to process error
being returned.

Diff Detail

Event Timeline

ayermolo created this revision.Apr 20 2022, 3:13 PM
Herald added a reviewer: rafauler. · View Herald Transcript
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added subscribers: hoy, modimo, wenlei. · View Herald Transcript
ayermolo requested review of this revision.Apr 20 2022, 3:13 PM
Herald added a project: Restricted Project. · View Herald Transcript
ayermolo edited the summary of this revision. (Show Details)Apr 20 2022, 3:22 PM
maksfb added inline comments.Apr 20 2022, 3:55 PM
bolt/lib/Rewrite/DWARFRewriter.cpp
465–466

Can you try consumeError(E); instead?

ayermolo updated this revision to Diff 424054.Apr 20 2022, 4:17 PM

using consumeError

ayermolo marked an inline comment as done.Apr 20 2022, 4:17 PM
ayermolo retitled this revision from [BOLT][DWARF] Handles Error returned by visitLocationList. to [BOLT][DWARF] Handle Error returned by visitLocationList.Apr 20 2022, 4:24 PM
maksfb accepted this revision.Apr 20 2022, 4:25 PM
This revision is now accepted and ready to land.Apr 20 2022, 4:25 PM
This revision was automatically updated to reflect the committed changes.