Skip to content

Commit fb623a3

Browse files
committed
[lldb] Fix two old UUID method calls in ObjectFileMachO
A section of ObjectFileMachO is ifdef compiled only when building to run on iOS etc natively, so this old method call rename wasn't detected by normal on-mac building.
1 parent 44fcc5c commit fb623a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,7 +2750,7 @@ void ObjectFileMachO::ParseSymtab(Symtab &symtab) {
27502750
return;
27512751

27522752
if (process_shared_cache_uuid.IsValid() &&
2753-
process_shared_cache_uuid != UUID::fromData(&cache_uuid, 16))
2753+
process_shared_cache_uuid != UUID(&cache_uuid, 16))
27542754
return;
27552755

27562756
dyld_shared_cache_for_each_image(shared_cache, ^(dyld_image_t image) {
@@ -2759,7 +2759,7 @@ void ObjectFileMachO::ParseSymtab(Symtab &symtab) {
27592759
return;
27602760

27612761
dyld_image_copy_uuid(image, &dsc_image_uuid);
2762-
if (image_uuid != UUID::fromData(dsc_image_uuid, 16))
2762+
if (image_uuid != UUID(dsc_image_uuid, 16))
27632763
return;
27642764

27652765
found_image = true;

0 commit comments

Comments
 (0)