|
20 | 20 | #include "eld/Config/GeneralOptions.h" |
21 | 21 | #include "eld/Core/Linker.h" |
22 | 22 | #include "eld/Input/InputFile.h" |
23 | | -#include "eld/LayoutMap/LayoutPrinter.h" |
| 23 | +#include "eld/LayoutMap/LayoutInfo.h" |
24 | 24 | #include "eld/Plugin/PluginManager.h" |
25 | 25 | #include "eld/PluginAPI/LinkerWrapper.h" |
26 | 26 | #include "eld/Script/StrToken.h" |
@@ -140,10 +140,10 @@ class Module { |
140 | 140 |
|
141 | 141 | public: |
142 | 142 | explicit Module(LinkerScript &CurScript, LinkerConfig &Config, |
143 | | - LayoutPrinter *LayoutPrinter); |
| 143 | + LayoutInfo *LayoutInfo); |
144 | 144 |
|
145 | 145 | Module(const std::string &Name, LinkerScript &CurScript, LinkerConfig &Config, |
146 | | - LayoutPrinter *LayoutPrinter); |
| 146 | + LayoutInfo *LayoutInfo); |
147 | 147 |
|
148 | 148 | ~Module(); |
149 | 149 |
|
@@ -319,7 +319,7 @@ class Module { |
319 | 319 | std::string Name, uint32_t Type, |
320 | 320 | uint32_t PFlag, uint32_t PAlign); |
321 | 321 |
|
322 | | - LayoutPrinter *getLayoutPrinter() { return ThisLayoutPrinter; } |
| 322 | + LayoutInfo *getLayoutInfo() { return ThisLayoutInfo; } |
323 | 323 |
|
324 | 324 | // Section symbols and all other symbols that live in the output. |
325 | 325 | void recordSectionSymbol(ELFSection *S, ResolveInfo *R) { |
@@ -660,7 +660,7 @@ class Module { |
660 | 660 | LDSymbol *DotSymbol = nullptr; |
661 | 661 | Linker *Linker = nullptr; |
662 | 662 | GNULDBackend *Backend = nullptr; |
663 | | - LayoutPrinter *ThisLayoutPrinter = nullptr; |
| 663 | + LayoutInfo *ThisLayoutInfo = nullptr; |
664 | 664 | bool Failure = false; |
665 | 665 | bool UsesLto = false; |
666 | 666 | plugin::LinkerWrapper::State State = plugin::LinkerWrapper::Unknown; |
|
0 commit comments