diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-01-16 04:14:33 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-01-16 04:14:33 +0000 |
commit | 6fffd487ee91243cc9f50e1e6dcb024d0dad6ea2 (patch) | |
tree | fc2898db347c5b557c9cd75a22c1239cbe5d678e /llvm/docs/doxygen.intro | |
parent | 590a2700fcc793c9ed7a408afa17f1b59d37473c (diff) | |
download | bcm5719-llvm-6fffd487ee91243cc9f50e1e6dcb024d0dad6ea2.tar.gz bcm5719-llvm-6fffd487ee91243cc9f50e1e6dcb024d0dad6ea2.zip |
PE/COFF: use dyn_cast for the check of the target
The target may be a synthetic symbol like __ImageBase. cast_or_null will ensure
that the atom is a DefinedAtom, which is not guaranteed, which was the original
reason for the cast_or_null. Switch this to dyn_cast, which should enable
building of executables for WoA. Unfortunately, the issue of missing base
relocations still needs to be investigated.
llvm-svn: 226246
Diffstat (limited to 'llvm/docs/doxygen.intro')
0 files changed, 0 insertions, 0 deletions