================
@@ -28,6 +29,21 @@ void AArch64_ELFTargetObjectFile::Initialize(MCContext &Ctx,
   SupportDebugThreadLocalLocation = false;
 }
 
+void AArch64_ELFTargetObjectFile::emitPersonalityValueImpl(
+    MCStreamer &Streamer, const DataLayout &DL, const MCSymbol *Sym,
+    const MachineModuleInfo *MMI) const {
+  if (!MMI->getObjFileInfo<MachineModuleInfoELF>().hasSignedPersonality()) {
----------------
kovdan01 wrote:

> We should add a subclass of MachineModuleInfoELF similar to 
> `AMDGPUMachineModuleInfo`, then move `HasSignedpersonality` there. Here you 
> can use a static_cast.

Thanks for suggestion, please let me know if 
b4ca8b141b3df8737f0f0d6f64f083fefb403735 resolves your comment

https://github.com/llvm/llvm-project/pull/113148
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to