[all-commits] [llvm/llvm-project] 826755: [lldb][FreeBSDKernel] Update kernel/kmod ELF type ...

Minsoo Choo via All-commits all-commits at lists.llvm.org
Thu Sep 24 12:31:17 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8267555e8a7cbe000f1e25c484635162c1420239
      https://github.com/llvm/llvm-project/commit/8267555e8a7cbe000f1e25c484635162c1420239
  Author: Minsoo Choo <minsoo at minsoo.io>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp

  Log Message:
  -----------
  [lldb][FreeBSDKernel] Update kernel/kmod ELF type (#224847)

In FreeBSD, kernel and kmod are not always `ET_EXEC`/`ET_DYN`. A few
exceptions exist:

- amd64's kmod is `ET_REL`
- ppc64 and ppc64le's kernel is `ET_DYN`

Reflect these in code that identifies if module is kernel, kmod, or
relocatable object.

Fixes: b3cc4804d45d6b612ac9b3cc47ebbb0da44ebc60



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