[Lldb-commits] [PATCH] D114742: [lldb] Search PrivateFrameworks when using an internal SDK

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 30 11:29:41 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0a302f666737: [lldb] Search PrivateFrameworks when using an internal SDK (authored by JDevlieghere).

Changed prior to commit:
  https://reviews.llvm.org/D114742?vs=390473&id=390763#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114742/new/

https://reviews.llvm.org/D114742

Files:
  lldb/packages/Python/lldbsuite/test/builders/darwin.py


Index: lldb/packages/Python/lldbsuite/test/builders/darwin.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/builders/darwin.py
+++ lldb/packages/Python/lldbsuite/test/builders/darwin.py
@@ -79,6 +79,14 @@
         if configuration.dsymutil:
             args['DSYMUTIL'] = configuration.dsymutil
 
+        if 'internal' in configuration.apple_sdk:
+            sdk_root = lldbutil.get_xcode_sdk_root(configuration.apple_sdk)
+            if sdk_root:
+                private_frameworks = os.path.join(sdk_root, 'System',
+                                                  'Library',
+                                                  'PrivateFrameworks')
+                args['FRAMEWORK_INCLUDES'] = '-F{}'.format(private_frameworks)
+
         operating_system, env = get_os_and_env()
         if operating_system and operating_system != "macosx":
             builder_dir = os.path.dirname(os.path.abspath(__file__))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114742.390763.patch
Type: text/x-patch
Size: 984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211130/c38d0e02/attachment.bin>


More information about the lldb-commits mailing list