This revision was automatically updated to reflect the committed changes. Closed by commit rG2cedc44a9233: Ignore DBGArchitecture from dsymForUUID's plist (authored by jasonmolenda).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92692/new/ https://reviews.llvm.org/D92692 Files: lldb/source/Symbol/LocateSymbolFileMacOSX.cpp lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py Index: lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py =================================================================== --- lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py +++ lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py @@ -85,7 +85,7 @@ 'fi', 'echo "<dict><key>$uuid</key><dict>"', '', - 'echo "<key>DBGArchitecture</key><string>x86_64</string>"', + 'echo "<key>DBGArchitecture</key><string>i386</string>"', 'echo "<key>DBGDSYMPath</key><string>$dsym</string>"', 'echo "<key>DBGSymbolRichExecutable</key><string>$bin</string>"', 'echo "</dict></dict></plist>"', Index: lldb/source/Symbol/LocateSymbolFileMacOSX.cpp =================================================================== --- lldb/source/Symbol/LocateSymbolFileMacOSX.cpp +++ lldb/source/Symbol/LocateSymbolFileMacOSX.cpp @@ -342,13 +342,6 @@ } } - cf_str = (CFStringRef)CFDictionaryGetValue((CFDictionaryRef)uuid_dict, - CFSTR("DBGArchitecture")); - if (cf_str && CFGetTypeID(cf_str) == CFStringGetTypeID()) { - if (CFCString::FileSystemRepresentation(cf_str, str)) - module_spec.GetArchitecture().SetTriple(str.c_str()); - } - std::string DBGBuildSourcePath; std::string DBGSourcePath;
Index: lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py =================================================================== --- lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py +++ lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py @@ -85,7 +85,7 @@ 'fi', 'echo "<dict><key>$uuid</key><dict>"', '', - 'echo "<key>DBGArchitecture</key><string>x86_64</string>"', + 'echo "<key>DBGArchitecture</key><string>i386</string>"', 'echo "<key>DBGDSYMPath</key><string>$dsym</string>"', 'echo "<key>DBGSymbolRichExecutable</key><string>$bin</string>"', 'echo "</dict></dict></plist>"', Index: lldb/source/Symbol/LocateSymbolFileMacOSX.cpp =================================================================== --- lldb/source/Symbol/LocateSymbolFileMacOSX.cpp +++ lldb/source/Symbol/LocateSymbolFileMacOSX.cpp @@ -342,13 +342,6 @@ } } - cf_str = (CFStringRef)CFDictionaryGetValue((CFDictionaryRef)uuid_dict, - CFSTR("DBGArchitecture")); - if (cf_str && CFGetTypeID(cf_str) == CFStringGetTypeID()) { - if (CFCString::FileSystemRepresentation(cf_str, str)) - module_spec.GetArchitecture().SetTriple(str.c_str()); - } - std::string DBGBuildSourcePath; std::string DBGSourcePath;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits