[dsymutil] fix accidental 32bit truncation in patchFrameInfoForObject
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Sat, 17 Dec 2022 12:22:05 +0000 (13:22 +0100)
committerAlexey Lapshin <a.v.lapshin@mail.ru>
Sat, 17 Dec 2022 14:26:32 +0000 (15:26 +0100)
commit10539ec2cf69fa8433840c9ddd6a56b8e2735e7a
tree6b71c1bf6531cc133018e6baab965e04265edf8f
parent09c5aab7f88178c1af92de0b00417416da9db6c1
[dsymutil] fix accidental 32bit truncation in patchFrameInfoForObject

patchFrameInfoForObject accidentally truncates FDE addresses
to the least significant 32bits, which causes the Go bug: https://github.com/golang/go/issues/25841.

Patch by Alessandro Arzilli

Differential Revision: https://reviews.llvm.org/D138763
llvm/include/llvm/DWARFLinker/DWARFLinker.h
llvm/include/llvm/DWARFLinker/DWARFStreamer.h
llvm/lib/DWARFLinker/DWARFLinker.cpp
llvm/lib/DWARFLinker/DWARFStreamer.cpp