[llvm] [BOLT][AArch64] Don't change layout in PatchEntries (PR #71278)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 13:55:01 PST 2023


================
@@ -62,6 +62,45 @@ INSTANTIATE_TEST_SUITE_P(X86, BinaryContextTester,
 INSTANTIATE_TEST_SUITE_P(AArch64, BinaryContextTester,
                          ::testing::Values(Triple::aarch64));
 
+TEST_P(BinaryContextTester, FlushPendingRelocCALL26) {
+  if (GetParam() != Triple::aarch64)
+    GTEST_SKIP();
+
+  // This test checks that encodeValueAArch64 used by flushPendingRelocations
+  // returns right encoded values for CALL26 relocation for both backward and
----------------
aaupov wrote:

>  // returns correctly encoded values for CALL26 relocation for both backward and


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


More information about the llvm-commits mailing list