[llvm] [JITLink][AArch32] Add dynamic lookup for relocation fixup infos (PR #71649)

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 10:08:37 PST 2023


================
@@ -155,68 +164,130 @@ struct HalfWords {
   const uint16_t Lo; // Second halfword
 };
 
-/// Collection of named constants per fixup kind. It may contain but is not
-/// limited to the following entries:
+struct FixupInfoBase {
+  virtual ~FixupInfoBase() {}
+};
----------------
weliveindetail wrote:

That's a great idea! Works wonderfully and the slowdown turn into noise in my quick benchmark! (For now the implementation assumes that `checkOpcodeImpl()` is set if the table entry exists.)

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


More information about the llvm-commits mailing list