[Lldb-commits] [lldb] fa639ed - [lldb] Fix TestStackCorefile.py for ca0ce99fc8

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 14 01:41:02 PDT 2021


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");
 


        


More information about the lldb-commits mailing list