Fix for r364686 - actually set symbol_is_missing_weak...
authorJim Ingham <jingham@apple.com>
Tue, 2 Jul 2019 23:38:07 +0000 (23:38 +0000)
committerJim Ingham <jingham@apple.com>
Tue, 2 Jul 2019 23:38:07 +0000 (23:38 +0000)
commit372cee511e274d098356ea148852747c8dda27d5
tree537b435269de83a60d21936f401702c54c510cea
parent37aeca39ba2d0b2620ef1c6fae1c8b1b647c529a
Fix for r364686 - actually set symbol_is_missing_weak...

This was set in a std::function, but I was shadowing a
variable that I thought I was capturing.  Even with this bug
we were correctly not raising an error and returning an address
of 0x0.  We were not marking the symbol as weak, but apparently
the JIT didn't need that, so the test still passed.

llvm-svn: 364980
lldb/source/Expression/IRExecutionUnit.cpp