This is an archive of the discontinued LLVM Phabricator instance.

[LazyCallGraph] Port test case from r240039 to LCG.
ClosedPublic

Authored by sanjoy on Jun 19 2015, 4:04 PM.

Details

Summary

r240039 adds a test case to check that CallGraph does the right thing
with respect to non-leaf intrinsics like statepoint and patchpoint.
This ports the same test case to LazyCallGraph. LazyCallGraph already
does the right thing with respect to escaping function pointers so there
is no need to change any code.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 28056.Jun 19 2015, 4:04 PM
sanjoy retitled this revision from to [LazyCallGraph] Port test case from r240039 to LCG..
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
sanjoy added a reviewer: chandlerc.
sanjoy added a subscriber: Unknown Object (MLST).
reames accepted this revision.Jun 24 2015, 12:05 PM
reames added a reviewer: reames.
reames added a subscriber: reames.

LGTM

This revision is now accepted and ready to land.Jun 24 2015, 12:05 PM
chandlerc accepted this revision.Jun 26 2015, 1:40 AM
chandlerc edited edge metadata.

This clearly looks good. =] FWIW, this kind of change seems obvious to me. Adding test cases like this should be fine with post-commit approval.

This revision was automatically updated to reflect the committed changes.