Apparently gcc-4.7.2 is touchy about 'this' appearing in a lambda capture list
along with other captures. I've rewritten my captures to try to avoid the issue.
llvm-svn: 228567
case NotEmitted:
if (provides(Name, ExportedSymbolsOnly))
return JITSymbol(
- [this,ExportedSymbolsOnly,Name,&B]() -> TargetAddress {
+ [=,&B]() -> TargetAddress {
if (EmitState == Emitting)
return 0;
else if (EmitState != Emitted) {
bool ExportedSymbolsOnly) {
if (auto Addr = H->getSymbolAddress(Name, ExportedSymbolsOnly))
return JITSymbol(
- [this, Addr, H](){
+ [=](){
if (H->NeedsFinalization()) {
H->Finalize();
if (NotifyFinalized)