[Lldb-commits] [lldb] [lldb][cmake] Populate Clang resource dir for CMakeCache (PR #136761)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 22 16:48:54 PDT 2025


================
@@ -135,6 +135,8 @@ if(NOT APPLE_EMBEDDED)
             $<TARGET_FILE_DIR:liblldb>/Resources/Clang/include
     COMMENT "LLDB.framework: copy clang vendor-specific headers"
   )
+
+  set(CLANG_RESOURCE_DIR ${clang_resource_headers_dir} CACHE FILEPATH "")
----------------
chelcassanova wrote:

Looked into this a little and it turns out that the code that handles searching for the clang headers in `LLDBFramework.cmake` looks to be overlapping with similar code in `lldb/source/API/CMakeLists.txt`. This should be a good opportunity to clean up that overlap.

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


More information about the lldb-commits mailing list