commit | 6c5438bf1d7af0f0ef1e81a30ad53e3fe93c35a8 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Fri Feb 24 21:55:59 2012 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Fri Feb 24 21:55:59 2012 +0000 |
tree | 2d655648c908c2144664db906783d4778c8ff918 | |
parent | 8bcb0bd5db56fd8136848b5669699de1d192ddf8 [diff] |
Fixed a crasher that was happening after making ObjectFile objects have a weak reference back to the Module. We were crashing when trying to make a memory object file since it was trying to get the object in the Module constructor before the "Module *" had been put into a shared pointer, and the module was trying to initialize a weak pointer back to it. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151397 91177308-0d34-0410-b5e6-96231b3b80d8