Author: Pavel Labath Date: 2021-10-14T10:38:48+02:00 New Revision: fa639eda6535732a5fd79c3f551d5a667b810963
URL: https://github.com/llvm/llvm-project/commit/fa639eda6535732a5fd79c3f551d5a667b810963 DIFF: https://github.com/llvm/llvm-project/commit/fa639eda6535732a5fd79c3f551d5a667b810963.diff LOG: [lldb] Fix TestStackCorefile.py for ca0ce99fc8 Added: Modified: lldb/test/API/macosx/stack-corefile/main.c Removed: ################################################################################ diff --git a/lldb/test/API/macosx/stack-corefile/main.c b/lldb/test/API/macosx/stack-corefile/main.c index a52fb3056caa4..afc206b6de847 100644 --- a/lldb/test/API/macosx/stack-corefile/main.c +++ b/lldb/test/API/macosx/stack-corefile/main.c @@ -6,8 +6,7 @@ int main() { int *heap_int = (int*) malloc(sizeof (int)); *heap_int = 10; - char stack_str[80]; - strcpy (stack_str, "stack string"); + char stack_str[] = "stack string"; char *heap_str = (char*) malloc(80); strcpy (heap_str, "heap string"); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits