Skip to content

Commit f897f63

Browse files
Merge pull request #3479 from gmittert/cherrypicktonext
[cherry-pick to next] Fix Stable lldb Release Builds
2 parents 13d1a66 + 29c235c commit f897f63

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
@@ -2756,9 +2756,9 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
27562756
if (get_ast_num_children() <
27572757
runtime->GetNumChildren({this, type}, valobj).getValueOr(0))
27582758
return impl();
2759+
#ifndef NDEBUG
27592760
if (ShouldSkipValidation(type))
27602761
return impl();
2761-
#ifndef NDEBUG
27622762
std::string ast_child_name;
27632763
uint32_t ast_child_byte_size = 0;
27642764
int32_t ast_child_byte_offset = 0;

0 commit comments

Comments
 (0)