[all-commits] [llvm/llvm-project] c33058: LoongArchAsmBackend: Simplify relaxDwarfLineAddr a...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Aug 2 12:25:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c330585bc78ec356a9d050832565999abb8ad1d4
https://github.com/llvm/llvm-project/commit/c330585bc78ec356a9d050832565999abb8ad1d4
Author: Fangrui Song <i at maskray.me>
Date: 2025-08-02 (Sat, 02 Aug 2025)
Changed paths:
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
Log Message:
-----------
LoongArchAsmBackend: Simplify relaxDwarfLineAddr and remove getRelocPairForSize
Instead of creating two separate fixups, create a single one. Leverage
LoongArchAsmBackend::addReloc to generate ADD/SUB relocation pairs.
In a future change MCFragment::setVarFixup may be restricted to a single
fixup.
Similar to c7500a2ec3baae1f0d7de0de94407d4bdb2e5d4d
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list