This is an archive of the discontinued LLVM Phabricator instance.

lambdas in modules: handle lambdas in .pcm [de]serialization
Needs ReviewPublic

Authored by elsteveogrande on Aug 19 2018, 1:38 PM.

Details

Summary
  • Drop a couple of asserts preventing this (in the merge function)
  • Merge all fields as usual
  • Ensure select fields match, for ODR checking
  • add previously-failing test to merge-lambdas.cpp

Test case by Andrew Gallagher

NOTE: depends on D50948

Test Plan:

Diff Detail

Event Timeline

elsteveogrande created this revision.Aug 19 2018, 1:38 PM
elsteveogrande retitled this revision from Handle lambdas in .pcm [de]serialization to lambdas in modules: handle lambdas in .pcm [de]serialization.Aug 19 2018, 1:39 PM

Rebase atop updated dependency D50948. Small cleanups to this diff.

elsteveogrande edited the summary of this revision. (Show Details)Sep 18 2018, 6:02 AM

rebase atop D50948 (correctly this time) to exclude those changes