This is an archive of the discontinued LLVM Phabricator instance.

Switch functions that returned bool and filled in a DWARFFormValue arg with ones that return Optional<DWARFFormValue>
ClosedPublic

Authored by clayborg on Dec 13 2016, 3:20 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

clayborg updated this revision to Diff 81317.Dec 13 2016, 3:20 PM
clayborg retitled this revision from to Switch functions that returned bool and filled in a DWARFFormValue arg with ones that return Optional<DWARFFormValue>.
clayborg updated this object.
aprantl accepted this revision.Dec 13 2016, 3:29 PM
aprantl edited edge metadata.

LGTM (small comments inline).

include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
82 ↗(On Diff #81317)

Could you also update the comment please?

lib/DebugInfo/DWARF/DWARFDie.cpp
138 ↗(On Diff #81317)

This looks reasonable, but should probably be a separate NFC commit.

This revision is now accepted and ready to land.Dec 13 2016, 3:29 PM
This revision was automatically updated to reflect the committed changes.