[Lldb-commits] [lldb] [lldb] Add a per-CU API to read the SDK (PR #119022)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 6 13:24:06 PST 2024


================
@@ -473,6 +473,32 @@ class Platform : public PluginInterface {
                       LLVM_PRETTY_FUNCTION, GetName()));
   }
 
+  /// Search CU for the SDK path the CUs was compiled against.
+  ///
+  /// \param[in] unit The CU
+  ///
+  /// \returns If successful, returns a parsed XcodeSDK object.
----------------
JDevlieghere wrote:

Nit/suggestion:
```suggestion
  /// \returns A parsed XcodeSDK object if successful, an Error otherwise. 
```

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


More information about the lldb-commits mailing list