Local data is referenced in Objective-C metadata via section + offset relocations on x86-64 rather than via symbols. Without this change, we would crash on incorrect casts of the referents to `Defined`. A basic test based on the existing `objc-relative-method-lists-simple.s` adopted to x86-64 is added.
5.4 KiB
5.4 KiB