Author: jdevlieghere Date: Wed Mar 6 08:33:48 2019 New Revision: 355518 URL: http://llvm.org/viewvc/llvm-project?rev=355518&view=rev Log: [Reproducers] Don't use VLA in SBReproducer redirect
This should unbreak the Windows bot. Modified: lldb/trunk/source/API/SBReproducer.cpp Modified: lldb/trunk/source/API/SBReproducer.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBReproducer.cpp?rev=355518&r1=355517&r2=355518&view=diff ============================================================================== --- lldb/trunk/source/API/SBReproducer.cpp (original) +++ lldb/trunk/source/API/SBReproducer.cpp Wed Mar 6 08:33:48 2019 @@ -37,7 +37,7 @@ static bool GetDefaultArchitectureRedire size_t arch_name_len) { // The function is writing to its argument. Without the redirect it would // write into the replay buffer. - char buffer[arch_name_len]; + char buffer[1024]; return SBDebugger::GetDefaultArchitecture(buffer, arch_name_len); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits