[llvm] [BOLT][Instrumentation] Initial instrumentation support for RISCV64 (PR #133882)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 16:58:32 PDT 2025


================
@@ -2901,7 +2901,7 @@ void RewriteInstance::handleRelocation(const SectionRef &RelocatedSection,
       // of sections and whose symbol address is not really what should be
       // encoded in the instruction). So we essentially disabled this check
       // for AArch64 and live with bogus names for objects.
-      assert((IsAArch64 || IsSectionRelocation ||
+      assert((IsAArch64 || BC->isRISCV() || IsSectionRelocation ||
----------------
WangJee wrote:

OK, it has been modified

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


More information about the llvm-commits mailing list