[all-commits] [llvm/llvm-project] ccf0c8: [BOLT] Add reading support for Linux kernel except...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Mon Mar 4 17:24:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccf0c8da1a0e6eea5e31fd5872ac864bf7005147
      https://github.com/llvm/llvm-project/commit/ccf0c8da1a0e6eea5e31fd5872ac864bf7005147
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    A bolt/test/X86/linux-exceptions.s

  Log Message:
  -----------
  [BOLT] Add reading support for Linux kernel exception table (#83100)

Read Linux exception table and ignore functions with exceptions for now.
Proper support requires an introduction of new control flow since some
instructions with memory access can cause a control flow change.

Hence looking at disassembly or CFG with exceptions annotations is
valuable for code analysis, delay marking functions with exceptions as
non-simple until immediately before emitting the code.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list