[PM] Fix r307532: Get rid of a dangling reference.
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Mon, 10 Jul 2017 12:48:51 +0000 (12:48 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Mon, 10 Jul 2017 12:48:51 +0000 (12:48 +0000)
commita3b84168801916f78e2ce68dc13814db67f74a9e
tree7c04b2fb1afa77fd13740388532c41c68fd3fa24
parenta86c920b1ea8f5d8b429ea944fb38a21ca8cc2ed
[PM] Fix r307532: Get rid of a dangling reference.

Escaping lambda by-reference capture of local variable caused a dangling
reference.

llvm-svn: 307534
llvm/tools/opt/NewPMDriver.cpp