This is an archive of the discontinued LLVM Phabricator instance.

LLD: Hexagon: Fix dereferencing end() iterator.
ClosedPublic

Authored by ruiu on Mar 31 2015, 1:52 PM.

Details

Reviewers
shankarke
Summary

findAbsoluteAtom() returns absoluteAtom().end() if no atom is found.
Dereferencing end() value results an undefined behavior.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 23007.Mar 31 2015, 1:52 PM
ruiu retitled this revision from to LLD: Hexagon: Fix dereferencing end() iterator..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: shankarke.
ruiu set the repository for this revision to rL LLVM.
ruiu added a project: lld.
ruiu added a subscriber: Unknown Object (MLST).
shankarke accepted this revision.Mar 31 2015, 2:22 PM
shankarke edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 31 2015, 2:22 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r233765.