[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #119361)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 15 13:42:15 PST 2024


================
@@ -431,6 +432,13 @@ void TargetLoweringObjectFileELF::emitPersonalityValue(
   Streamer.emitELFSize(Label, E);
   Streamer.emitLabel(Label);
 
+  emitPersonalityValueImpl(Streamer, DL, Sym, MMI);
+}
+
+void TargetLoweringObjectFileELF::emitPersonalityValueImpl(
+    MCStreamer &Streamer, const DataLayout &DL, const MCSymbol *Sym,
+    const MachineModuleInfo *MMI) const {
+  unsigned Size = DL.getPointerSize();
----------------
MaskRay wrote:

inline used-once variable

https://github.com/llvm/llvm-project/pull/119361


More information about the llvm-commits mailing list