[PATCH] D140727: [XRay] Add initial support for loongarch64

Lu Weining via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 28 20:25:57 PDT 2023


SixWeining added a comment.

In D140727#4019019 <https://reviews.llvm.org/D140727#4019019>, @SixWeining wrote:

> D140725 <https://reviews.llvm.org/D140725> is abandoned. Let me defer this change until we support 64bit PC-relative relocation for `SymA - SymB`.

Update: R_LARCH_64_PCREL can be emitted after D153872 <https://reviews.llvm.org/D153872>. And I'd like to ask @Ami-zhang to update this patch later.



================
Comment at: llvm/test/CodeGen/LoongArch/xray-attribute-instrumentation.ll:11
+; CHECK-NEXT:  b .Lxray_sled_end0
+; CHECK-NEXT:  nop
+; CHECK-NEXT:  nop
----------------
CHECK-COUNT-11


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140727/new/

https://reviews.llvm.org/D140727



More information about the cfe-commits mailing list