llvm/lib/ExecutionEngine/RuntimeDyld
Lang Hames 25818a6e26 Consistently check 'IsCode' when allocating sections in RuntimeDyld (via
findOrEmitSection).

Vaidas Gasiunas's patch, r201259, fixed one instance where we were always
allocating sections as text. This patch fixes the remaining buggy call sites.

No test case: This isn't breaking anything that I know of, it's just
inconsistent.

<rdar://problem/15943542>



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201605 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18 21:46:39 +00:00
..
CMakeLists.txt
GDBRegistrar.cpp Attempt to fix the MSVC build. 2014-01-16 05:09:32 +00:00
JITRegistrar.h [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
LLVMBuild.txt
Makefile
ObjectImageCommon.h Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
RuntimeDyld.cpp Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
RuntimeDyldELF.cpp Consistently check 'IsCode' when allocating sections in RuntimeDyld (via 2014-02-18 21:46:39 +00:00
RuntimeDyldELF.h Fix known typos 2014-01-24 17:20:08 +00:00
RuntimeDyldImpl.h Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
RuntimeDyldMachO.cpp Consistently check 'IsCode' when allocating sections in RuntimeDyld (via 2014-02-18 21:46:39 +00:00
RuntimeDyldMachO.h Re-apply r196639: Add support for archives and object file caching under MCJIT. 2014-01-08 04:09:09 +00:00