[CodeGen] Fix regression from D83655
authorJessica Clarke <jrtc27@jrtc27.com>
Tue, 3 Nov 2020 03:57:46 +0000 (03:57 +0000)
committerJessica Clarke <jrtc27@jrtc27.com>
Tue, 3 Nov 2020 03:57:46 +0000 (03:57 +0000)
commitf77c8a48aea9fbce038fc38ef9849f7aa1453993
tree4ffdea8e0f18a0565c42638948c1954e3fc151aa
parent7601a2173893dbb0fbe883e6efaa413bc986557d
[CodeGen] Fix regression from D83655

Arm EHABI has a null LSDASection as it does its own thing, so we should
continue to return null in that case rather than try and cast it.
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp