summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-28 19:29:55 +0000
committerRui Ueyama <ruiu@google.com>2017-02-28 19:29:55 +0000
commit80474a26b985feb5a3f28f13995ed796312ffe83 (patch)
treeaf31b1fd36a9ef4a83c7b15637fa9d61d1d3707f /lld/ELF/MapFile.cpp
parent1b003183712c7ae5710430a914f9ab660083da1d (diff)
downloadbcm5719-llvm-80474a26b985feb5a3f28f13995ed796312ffe83.tar.gz
bcm5719-llvm-80474a26b985feb5a3f28f13995ed796312ffe83.zip
De-template DefinedRegular.
Differential Revision: https://reviews.llvm.org/D30348 llvm-svn: 296508
Diffstat (limited to 'lld/ELF/MapFile.cpp')
-rw-r--r--lld/ELF/MapFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp
index 576e3dc878b..07e1fa39115 100644
--- a/lld/ELF/MapFile.cpp
+++ b/lld/ELF/MapFile.cpp
@@ -80,7 +80,7 @@ static void writeInputSection(raw_fd_ostream &OS, const InputSection *IS,
OS << '\n';
for (SymbolBody *Sym : File->getSymbols()) {
- auto *DR = dyn_cast<DefinedRegular<ELFT>>(Sym);
+ auto *DR = dyn_cast<DefinedRegular>(Sym);
if (!DR)
continue;
if (DR->Section != IS)
OpenPOWER on IntegriCloud