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 | a7ca3c2a286bded5e2c323763d905aac7f5ec7c9 (patch) | |
tree | d7d6e3bc770fa1d10faa5ab4e8eda35d8770ff7d /lib/ExecutionEngine | |
parent | b4164284b58842571df1e3ca1467246cde8664cc (diff) | |
download | external_llvm-a7ca3c2a286bded5e2c323763d905aac7f5ec7c9.zip external_llvm-a7ca3c2a286bded5e2c323763d905aac7f5ec7c9.tar.gz external_llvm-a7ca3c2a286bded5e2c323763d905aac7f5ec7c9.tar.bz2 |
Indenting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index eb69693..c1f8bae 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/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); } } |