diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 15:44:30 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 15:44:30 +0000 |
| commit | 76b6bd355d274f6eb74417a40ea87e8734d8baa4 (patch) | |
| tree | f526f0c1fbf143a1f908a7167725f0d3bdfdb287 /lld/ELF/MapFile.cpp | |
| parent | c86b2cddc8294578162f6d87900e7127b9f99deb (diff) | |
| download | bcm5719-llvm-76b6bd355d274f6eb74417a40ea87e8734d8baa4.tar.gz bcm5719-llvm-76b6bd355d274f6eb74417a40ea87e8734d8baa4.zip | |
Remove unnecessary template. NFC.
llvm-svn: 297287
Diffstat (limited to 'lld/ELF/MapFile.cpp')
| -rw-r--r-- | lld/ELF/MapFile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index 97b913705ca..e1194b5bf41 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp @@ -66,8 +66,8 @@ static void writeInputSection(raw_fd_ostream &OS, const InputSection *IS, int Width = ELFT::Is64Bits ? 16 : 8; StringRef Name = IS->Name; if (Name != PrevName) { - writeInSecLine(OS, Width, IS->OutSec->Addr + IS->OutSecOff, - IS->template getSize<ELFT>(), IS->Alignment, Name); + writeInSecLine(OS, Width, IS->OutSec->Addr + IS->OutSecOff, IS->getSize(), + IS->Alignment, Name); OS << '\n'; PrevName = Name; } @@ -75,8 +75,8 @@ static void writeInputSection(raw_fd_ostream &OS, const InputSection *IS, elf::ObjectFile<ELFT> *File = IS->template getFile<ELFT>(); if (!File) return; - writeFileLine(OS, Width, IS->OutSec->Addr + IS->OutSecOff, - IS->template getSize<ELFT>(), IS->Alignment, toString(File)); + writeFileLine(OS, Width, IS->OutSec->Addr + IS->OutSecOff, IS->getSize(), + IS->Alignment, toString(File)); OS << '\n'; for (SymbolBody *Sym : File->getSymbols()) { |

