MCJIT section loading should just skip non-text sections rather than
authorJim Grosbach <grosbach@apple.com>
Thu, 12 May 2011 21:21:16 +0000 (21:21 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 12 May 2011 21:21:16 +0000 (21:21 +0000)
commit757a142ea845ee44cc9340063bbc2f992e8c4232
tree64c88caac84417e621730b904586397ae2771ad3
parent7139d3516526317497e70348e33a57b52ddc053c
MCJIT section loading should just skip non-text sections rather than
erroring out completely. Some modules produce sections that aren't referenced,
so it's friendlier to clients like LLDB to just skip them, at least for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131243 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp