Fixes a bug where dsymutil did not truncate negative PC offsets to the specified width. E.g: if "Low + LocPcOffset" is negative and AddressSize is 4, the bits 32..63 are high, which causes EmitIntValue to assertion-fail.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm not sure we should fix this. The fact that we get this assertion means that the link did something wrong, and most likely we should fix the issue there. We shouldn't end up with negative/overflowing addresses here.
It might be that for some reason getting this is unavoidable, but I want to understand the root cause first.