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

Lu Weining via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 00:12:57 PDT 2023


SixWeining added a comment.

Since `R_LARCH_64_PCREL` has been supported, we can use version 2 xray and the patch summary should be modified accordingly.



================
Comment at: llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp:187
+  OutStreamer->emitLabel(EndOfSled);
+  recordSled(BeginOfSled, MI, Kind); // FIXME: use version 2
 }
----------------
should use version 2:

```
recordSled(BeginOfSled, MI, Kind, 2);
```


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