From: Adrian Prantl Date: Wed, 26 Aug 2020 22:10:31 +0000 (-0700) Subject: Bring llvm::Optional data formatter back in sync with the implementation. X-Git-Tag: llvmorg-13-init~13632 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a206ca40b5cf4bb8d8e84aedd4fb34952001f80b;p=platform%2Fupstream%2Fllvm.git Bring llvm::Optional data formatter back in sync with the implementation. --- diff --git a/llvm/utils/lldbDataFormatters.py b/llvm/utils/lldbDataFormatters.py index 98c9099..b5daa09 100644 --- a/llvm/utils/lldbDataFormatters.py +++ b/llvm/utils/lldbDataFormatters.py @@ -111,7 +111,7 @@ def OptionalSummaryProvider(valobj, internal_dict): return 'None' underlying_type = storage.GetType().GetTemplateArgumentType(0) - storage = storage.GetChildMemberWithName('storage') + storage = storage.GetChildMemberWithName('value') return str(storage.Cast(underlying_type)) def SmallStringSummaryProvider(valobj, internal_dict):