summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-03-20 21:06:46 +0000
committerLang Hames <lhames@gmail.com>2014-03-20 21:06:46 +0000
commit868d4b312207bf1fe135f0834b5c5623ab90ec5f (patch)
tree3e1a8c995a861a743e5df219d4a711a1cf7f737f /llvm/lib/MC/MCStreamer.cpp
parent6ef429367805f2f99fab31ca10a139cff668a540 (diff)
downloadbcm5719-llvm-868d4b312207bf1fe135f0834b5c5623ab90ec5f.tar.gz
bcm5719-llvm-868d4b312207bf1fe135f0834b5c5623ab90ec5f.zip
Add an option to MCJIT to have it forward all sections to the
RTDyldMemoryManager, regardless of whether it thinks they're "required for execution". Currently, RuntimeDyld only passes sections that are "required for execution" to the RTDyldMemoryManager, and takes "required for execution" to mean exactly "contains symbols or relocations". There are two problems with this: (1) It can drop sections with anonymous data that is referenced by code. (2) It leaves the JIT client no way to inspect interesting sections that aren't actually required to run the program (e.g dwarf sections). A test case is still in the works. Future work: We may want to replace this with a generic section filtering mechanism, but that will require more consideration. For now, this flag at least allows clients to volunteer to do the filtering themselves. Fixes <rdar://problem/15177691>. llvm-svn: 204398
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud