summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-08-11 11:46:56 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-08-11 11:46:56 +0000
commit45d2767ca7e57e539bc81ab11c4498827e804532 (patch)
tree40543bf34156931bd50ee489248839030bff2b78
parentac642ae7c0940e2851d7861c1e2090bcee2e5d19 (diff)
downloadbcm5719-llvm-45d2767ca7e57e539bc81ab11c4498827e804532.tar.gz
bcm5719-llvm-45d2767ca7e57e539bc81ab11c4498827e804532.zip
[ELF] - Fixing buildbot.
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/11517/steps/build_Lld/logs/stdio llvm-svn: 310705
-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 1d8a44f63b3..f2739e2af38 100644
--- a/lld/ELF/MapFile.cpp
+++ b/lld/ELF/MapFile.cpp
@@ -58,7 +58,7 @@ template <class ELFT> static std::vector<Defined *> getSymbols() {
V.push_back(DR);
} else if (auto *DC = dyn_cast<DefinedCommon>(B)) {
if (InX::Common)
- V.push_back(cast<DefinedCommon>(B));
+ V.push_back(DC);
}
}
}
OpenPOWER on IntegriCloud