PiJoules wrote: Rather than removing `unnamed_addr`, would it have been better to set `SupportIndirectSymViaGOTPCRel` in appropriately subclassed `TargetLoweringObjectFile` constructors? https://github.com/llvm/llvm-project/pull/142304