diff options
author | Eric Christopher <echristo@gmail.com> | 2012-10-12 02:04:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-10-12 02:04:47 +0000 |
commit | ca2ff70eb89b655e9ecff9b92a3844a9ebcd096c (patch) | |
tree | 5d15d0a0d882459aa196829980b135574921e8ef /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | |
parent | e9623261ad135af13248f4acd94e5ea1cbb30303 (diff) | |
download | bcm5719-llvm-ca2ff70eb89b655e9ecff9b92a3844a9ebcd096c.tar.gz bcm5719-llvm-ca2ff70eb89b655e9ecff9b92a3844a9ebcd096c.zip |
Indenting.
llvm-svn: 165785
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index eb69693359d..c1f8baed1a4 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -378,17 +378,17 @@ void RuntimeDyldImpl::reassignSectionAddress(unsigned SectionID, void RuntimeDyldImpl::resolveRelocationEntry(const RelocationEntry &RE, uint64_t Value) { - // Ignore relocations for sections that were not loaded - if (Sections[RE.SectionID].Address != 0) { - uint8_t *Target = Sections[RE.SectionID].Address + RE.Offset; - DEBUG(dbgs() << "\tSectionID: " << RE.SectionID - << " + " << RE.Offset << " (" << format("%p", Target) << ")" - << " RelType: " << RE.RelType - << " Addend: " << RE.Addend - << "\n"); - - resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset, - Value, RE.RelType, RE.Addend); + // Ignore relocations for sections that were not loaded + if (Sections[RE.SectionID].Address != 0) { + uint8_t *Target = Sections[RE.SectionID].Address + RE.Offset; + DEBUG(dbgs() << "\tSectionID: " << RE.SectionID + << " + " << RE.Offset << " (" << format("%p", Target) << ")" + << " RelType: " << RE.RelType + << " Addend: " << RE.Addend + << "\n"); + + resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset, + Value, RE.RelType, RE.Addend); } } |