[Lldb-commits] [PATCH] D135983: [lldb] Fix a -Wdeprecated-declarations warning

Nico Weber via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 26 10:35:45 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0af7280a5ee0: [lldb] Fix a -Wdeprecated-declarations warning (authored by thakis).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135983

Files:
  lldb/source/Symbol/LocateSymbolFileMacOSX.cpp


Index: lldb/source/Symbol/LocateSymbolFileMacOSX.cpp
===================================================================
--- lldb/source/Symbol/LocateSymbolFileMacOSX.cpp
+++ lldb/source/Symbol/LocateSymbolFileMacOSX.cpp
@@ -630,8 +630,8 @@
                                   command_output.size(), kCFAllocatorNull));
 
   CFCReleaser<CFDictionaryRef> plist(
-      (CFDictionaryRef)::CFPropertyListCreateFromXMLData(
-          NULL, data.get(), kCFPropertyListImmutable, NULL));
+      (CFDictionaryRef)::CFPropertyListCreateWithData(
+          NULL, data.get(), kCFPropertyListImmutable, NULL, NULL));
 
   if (!plist.get()) {
     LLDB_LOGF(log, "'%s' failed: output is not a valid plist",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135983.470862.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221026/9e0b1757/attachment.bin>


More information about the lldb-commits mailing list