[llvm] [BOLT][AArch64] Basic support for Linux kernel (PR #118022)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 14:13:01 PST 2024


================
@@ -1023,7 +1033,8 @@ Error LinuxKernelRewriter::readExceptionTable() {
   if (!ExceptionsSection)
     return Error::success();
 
-  if (ExceptionsSection->getSize() % EXCEPTION_TABLE_ENTRY_SIZE)
+  size_t EntrySize = getExceptionTableEntrySize();
----------------
maksfb wrote:

```suggestion
  const size_t EntrySize = getExceptionTableEntrySize();
```

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


More information about the llvm-commits mailing list