[Lldb-commits] [lldb] [lldb] Add extra logic to find llvm-nm in standalone builds (PR #227487)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 30 11:47:27 PDT 2026


================
@@ -71,6 +71,34 @@ else()
   endif()
 endif()
 
+# If llvm-nm is built but the target is not exported, we need to find it to
+# build the dynamic script interpreters.
+if (NOT LLVM_NM)
+  if (CMAKE_CROSSCOMPILING)
----------------
bulbazord wrote:

Hmm, not in all cases, no. This either looks for the target or (when cross-compiling) in the host tools directory. 

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


More information about the lldb-commits mailing list