mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 22:16:06 +00:00
Indenting.
llvm-svn: 165785
This commit is contained in:
parent
e9623261ad
commit
ca2ff70eb8
@ -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");
|
||||
// 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);
|
||||
resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset,
|
||||
Value, RE.RelType, RE.Addend);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user