This is an archive of the discontinued LLVM Phabricator instance.

Repair IntelJITEventListener
ClosedPublic

Authored by ArchDRobison on Apr 4 2014, 12:56 PM.

Details

Reviewers
andrew.w.kaylor
Group Reviewers
deleted
Summary

Recent changes broke IntelJITEventListener and its unit test. The patch fixes the breaks and eliminates a gcc warning.

Summary of changes:

  • Change take() to release(), because MockWrapper went from being an OwningPtr to a std::unique_ptr.
  • Repair form of loop since r200442 removed content_iterator::increment. The change mimics a similar change made by r200442 to lib/DebugInfo/DWARFContext.cpp
  • Use a const_cast instead of C-style cast to shut up a warning from gcc.
  • Arch

Diff Detail

Event Timeline

andrew.w.kaylor accepted this revision.Apr 4 2014, 2:19 PM

Looks good to me.

Old review -- was committed in r205689