gollvm: sync with LLVM trunk at r339232

Updates the godumpspec sources to take into account recent changes in
the DWARF reader.

Change-Id: Ie3ef715ac0db7569123e887b7a4be15ecac1a0ab
Reviewed-on: https://go-review.googlesource.com/128515
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/libgo/godumpspec/godumpspec.cpp b/libgo/godumpspec/godumpspec.cpp
index 194162f..68507d4 100644
--- a/libgo/godumpspec/godumpspec.cpp
+++ b/libgo/godumpspec/godumpspec.cpp
@@ -1235,7 +1235,8 @@
     return 1;
   }
 
-  DWARFCompileUnit *cu = ostate.dwctxt_->getCompileUnitAtIndex(0);
+  DWARFCompileUnit *cu =
+      cast<DWARFCompileUnit>(ostate.dwctxt_->getUnitAtIndex(0));
   state.readDwarf(cu);
 
   return 0;