summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-11-05 20:57:16 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-11-05 20:57:16 +0000
commita714efc1bd14b37db33677844572ebb40ab3ace2 (patch)
treeb5f5e989e54892a9bf100ae937755bf50e6a74f0 /clang/lib/CodeGen/CodeGenModule.cpp
parent10b4f2a20c5945da6ab2ff5abc2d683750383684 (diff)
downloadbcm5719-llvm-a714efc1bd14b37db33677844572ebb40ab3ace2.tar.gz
bcm5719-llvm-a714efc1bd14b37db33677844572ebb40ab3ace2.zip
Add a method to indicate section address re-assignment is finished.
Prior to this patch RuntimeDyld attempted to re-apply relocations every time reassignSectionAddress was called (via MCJIT::mapSectionAddress). In addition to being inefficient and redundant, this led to a problem when a section was temporarily moved too far away from another section with a relative relocation referencing the section being moved. To fix this, I'm adding a new method (finalizeObject) which the client can call to indicate that it is finished rearranging section addresses so the relocations can safely be applied. llvm-svn: 167400
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud