Fix a crash, an UB and add some assert to dwo symbol file handling

llvm-svn: 249827
5 files changed