Skip to content

Commit 7d0e19d

Browse files
Merge pull request #3477 from gmittert/fixbuild
Fix Stable20210726 lldb Release Builds
2 parents ff20ea9 + dc39a8a commit 7d0e19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2759,9 +2759,9 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
27592759
if (get_ast_num_children() <
27602760
runtime->GetNumChildren({this, type}, valobj).getValueOr(0))
27612761
return impl();
2762+
#ifndef NDEBUG
27622763
if (ShouldSkipValidation(type))
27632764
return impl();
2764-
#ifndef NDEBUG
27652765
std::string ast_child_name;
27662766
uint32_t ast_child_byte_size = 0;
27672767
int32_t ast_child_byte_offset = 0;

0 commit comments

Comments
 (0)