Check section type rather than assuming it's code when emitting sections while proces...
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 12 Oct 2012 23:53:16 +0000 (23:53 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 12 Oct 2012 23:53:16 +0000 (23:53 +0000)
commit4732872bd22615e54d09e6676f82483c46d7b079
tree040d70072ad7c032a8cc4a9ee1990a1bc8a22c8b
parent7e48b252e74a83ba161ffea8d9bdd6a2a0b56c5f
Check section type rather than assuming it's code when emitting sections while processing relocations.

llvm-svn: 165854
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp