From dc62ffd37b8852e0a4d2bcd2b6373aa60ac9f4f1 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Mon, 9 Nov 2015 19:27:34 +0000 Subject: Add a way for source languages to "mark" ValueObjects with language-specific flags In this way, when a language needs to tell itself things that are not bound to a type but to a value (imagine a base-class relation, this is not about the type, but about the ValueObject), it can do so in a clean and general fashion The interpretation of the values of the flags is, of course, up to the language that owns the value (the value object's runtime language, that is) llvm-svn: 252503 --- lldb/source/Core/ValueObjectConstResultChild.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lldb/source/Core/ValueObjectConstResultChild.cpp') diff --git a/lldb/source/Core/ValueObjectConstResultChild.cpp b/lldb/source/Core/ValueObjectConstResultChild.cpp index 002063e6b58..c93aedc2260 100644 --- a/lldb/source/Core/ValueObjectConstResultChild.cpp +++ b/lldb/source/Core/ValueObjectConstResultChild.cpp @@ -27,7 +27,8 @@ ValueObjectConstResultChild::ValueObjectConstResultChild uint32_t bitfield_bit_offset, bool is_base_class, bool is_deref_of_parent, - lldb::addr_t live_address + lldb::addr_t live_address, + uint64_t language_flags ) : ValueObjectChild (parent, compiler_type, @@ -38,7 +39,8 @@ ValueObjectConstResultChild::ValueObjectConstResultChild bitfield_bit_offset, is_base_class, is_deref_of_parent, - eAddressTypeLoad), + eAddressTypeLoad, + language_flags), m_impl(this, live_address) { m_name = name; -- cgit v1.2.3