[llvm] [RISCV] Support Parsing Nonstandard Relocations (PR #119909)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 19:44:19 PST 2025
================
@@ -34,3 +34,20 @@
nop
# CHECK-ASM: nop
# CHECK-OBJ: addi zero, zero, 0x0
+
+ .reloc ., R_RISCV_VENDOR, QUALCOMM
+ .reloc ., R_RISCV_QC_ABS20_U, my_bar + 2
+ addi a1, a1, 0
+ # CHECK-ASM: [[L3:.L[^:]+]]:
----------------
MaskRay wrote:
The `ASM:` line, shorter than the next line by 5, should be indented to align with the following lines
ditto below
https://github.com/llvm/llvm-project/pull/119909
More information about the llvm-commits
mailing list