Somehow UBSan would only report the unaligned load in TestLinuxCore.py when running the tests with reproducers. This patch fixes the issue by using a memcpy in the GetDouble and the GetFloat method. Differential revision: https://reviews.llvm.org/D83256
35 KiB
35 KiB