[PATCH] D43219: [PartialInlining] Fix Crash from holding a reference to a destructed ORE

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 10:40:27 PDT 2018


sfertile updated this revision to Diff 139160.
sfertile added a comment.

Create the OREs at the point of use rather then trying to get them from the FunctionAnalysisManagerModuleProxy in the new-pass and allocating them in the legacy-pass.

Will try to cut down the test size next.


Repository:
  rL LLVM

https://reviews.llvm.org/D43219

Files:
  lib/Transforms/IPO/PartialInlining.cpp
  test/Transforms/CodeExtractor/PartialInlineORECrash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43219.139160.patch
Type: text/x-patch
Size: 30918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180320/beab4497/attachment.bin>


More information about the llvm-commits mailing list