Skip to content

Commit b3cc480

Browse files
authored
[lldb][FreeBSD] Add dynamic loader handle class for FreeBSD Kernel (#67106)
The implemtation support parsing kernel module for FreeBSD Kernel and has been test on x86-64 and arm64. In summary, this class parse the linked list resides in the kernel memory that record all kernel module and load the debug symbol file to facilitate debug process
1 parent f659ef4 commit b3cc480

File tree

6 files changed

+1014
-7
lines changed

6 files changed

+1014
-7
lines changed

lldb/source/Plugins/DynamicLoader/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
add_subdirectory(Darwin-Kernel)
2+
add_subdirectory(FreeBSD-Kernel)
23
add_subdirectory(MacOSX-DYLD)
34
add_subdirectory(POSIX-DYLD)
45
add_subdirectory(Static)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
add_lldb_library(lldbPluginDynamicLoaderFreeBSDKernel PLUGIN
2+
DynamicLoaderFreeBSDKernel.cpp
3+
4+
LINK_LIBS
5+
lldbBreakpoint
6+
lldbCore
7+
lldbHost
8+
lldbInterpreter
9+
lldbSymbol
10+
lldbTarget
11+
lldbUtility
12+
lldbPluginObjectFileELF
13+
)

0 commit comments

Comments
 (0)