[PATCH] D156018: [BOLT] Implement createRelocation for AArch64

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 16:37:19 PDT 2023


Amir added inline comments.


================
Comment at: bolt/lib/Core/Relocation.cpp:350
+    Value -= PC;
+    assert(((Value + 0x8000000ULL) & 0xfffffffff0000000ULL) == 0 &&
+           "only PC +/- 128MB is allowed for direct call");
----------------



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

https://reviews.llvm.org/D156018



More information about the llvm-commits mailing list