[PATCH] D117317: [MC] Put the pending fixups into relocation offset symbol's fragment
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 14 21:36:18 PST 2022
MaskRay added inline comments.
================
Comment at: llvm/lib/MC/MCObjectStreamer.cpp:131
+ case MCFragment::FT_Dwarf:
+ case MCFragment::FT_PseudoProbe:
+ cast<MCEncodedFragmentWithFixups<8, 1>>(SymFragment)
----------------
Several cases are not covered by tests. They need tests.
================
Comment at: llvm/test/MC/RISCV/reloc-directive.s:26
+
+# CHECK: Section ({{.*}}) .rela.data
+# CHECK-NEXT: 0x0 R_RISCV_32 - 0x6
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117317/new/
https://reviews.llvm.org/D117317
More information about the llvm-commits
mailing list