commit | 45d2767ca7e57e539bc81ab11c4498827e804532 | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Fri Aug 11 11:46:56 2017 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Fri Aug 11 11:46:56 2017 +0000 |
tree | 40543bf34156931bd50ee489248839030bff2b78 | |
parent | ac642ae7c0940e2851d7861c1e2090bcee2e5d19 [diff] [blame] |
[ELF] - Fixing buildbot. http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/11517/steps/build_Lld/logs/stdio llvm-svn: 310705
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index 1d8a44f..f2739e2 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp
@@ -58,7 +58,7 @@ 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); } } }