@@ -4,12 +4,12 @@ To do this:
44(1) check the version for your copy of lldb:
55 lldb --version
66
7- If you have a version other than the most current (release/13 .x), you will need to either
8- install v13 or generate the JNI interface for the version you have.
7+ If you have a version other than the most current (release/14 .x), you will need to either
8+ install v14 or generate the JNI interface for the version you have.
99
10- (2a) To install LLVM/lldb version 13 :
10+ (2a) To install LLVM/lldb version 14 :
1111 - git clone https://github.com/llvm/llvm-project.git
12- - git checkout release/13 .x
12+ - git checkout release/14 .x
1313 - cd llvm-project
1414 - mkdir build && cd build
1515 - cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;libcxx;lldb" -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_LINKER=gold ../llvm
@@ -37,8 +37,8 @@ If you have the most current version or have completed step (2), you can:
3737 - gradle build
3838
3939(4) To run:
40- - add -Djava.library.path=/path_to/liblldb:/path_to/liblldb -java:etc in support/launch.properties or,
41- if you're running out of Eclipse, to the arguments in the Run/Debug Configuration
40+ - add -Djava.library.path=/path_to_liblldb:/path_to_liblldb -java:etc (not including the actual library name)
41+ in support/launch.properties or, if you're running out of Eclipse, to the arguments in the Run/Debug Configuration
4242
4343TROUBLESHOOTING:
4444(1) If you are trying to execute "gradle buildGhidra" with LLVM_HOME already set, you are likely
@@ -51,6 +51,10 @@ TROUBLESHOOTING:
5151(4) If you get an "Unsatisfied Link Error" when you start the debugger, make sure both liblldb
5252 and liblldb-java are in the path described by java.library.path.
5353(5) Link errors can also be caused by different architectures or platforms for the libraries.
54+ (6) You may need to set up the development environment before running gradle:
55+ gradle -I gradle/support/fetchDependencies.gradle init
56+ (7) If you are using the homebrew installation of lldb, you may need to modify buildNatives.gradle
57+ to reflect the homebrew directory structure, e.g. $llvm_dir/lldb/include -> $llvm_dir/include.
5458
5559
5660
0 commit comments