GUIDINGLI commented on PR #17453:
URL: https://github.com/apache/nuttx/pull/17453#issuecomment-3660485840

   These three patch are will test and described on commit msg.
   
       libs/risc-v:add cfi for optimized compilation func
       
       (gdb) bt
           at /home/mi/ssd/dev-system/nuttx/include/string.h:321
           ppcmd=<synthetic pointer>, vtbl=0x80069498) at nsh_parse.c:1909
           param=0x800692b8) at nsh_parse.c:2593
           cmdline=cmdline@entry=0x80069750 "hello") at nsh_parse.c:3028
           argc=argc@entry=1, argv=argv@entry=0x80068870) at nsh_session.c:246
           at nsh_consolemain.c:75
           at nsh_main.c:74
       ...
   
       libc/arm64: add cfi for optimized func
       
       (gdb) bt
           #0  arch_strlen () at machine/arm64/gnu/arch_strlen.S:119
           #1  0x000000004043a2c0 in strchr (s=s@entry=0x408e5e40 "HELLO 
WORLD", c=c@entry=87) at machine/arch_libc.c:252
           #2  0x0000000040504c6c in strchr (c=87, s=0x408e5e40 "HELLO WORLD") 
at /home/mi/ssd/dev-system/nuttx/include/string.h:306
           #3  test_strchr () at hello_main.c:79
           #4  hello_main (argc=argc@entry=1, argv=argv@entry=0x40b5c090) at 
hello_main.c:132
           #5  0x000000004043d958 in nxtask_startup (entrypt=0x40504ba0 
<hello_main>, argc=argc@entry=1, argv=argv@entry=0x40b5c090) at 
sched/task_startup.c:72
           #6  0x00000000403f1ab4 in nxtask_start () at task/task_start.c:104
           #7  0x0000000000000000 in ?? ()
       
       armv7a:add cfi instrcutions to debug
       
       (gdb) bt
           #0  memset () at machine/arm/armv7-a/gnu/arch_memset.S:45
           #1  0x0407222e in memset (n=4, c=65, s=0x40269d94) at 
/home/mi/ssd/dev-system/nuttx/include/string.h:203
           #2  test_memset () at hello_main.c:57
           #3  hello_main (argc=<optimized out>, argv=<optimized out>) at 
hello_main.c:66
           #4  0x0403f1de in nxtask_startup (entrypt=0x40721b1 <hello_main>, 
argc=1, argv=0x40269628) at sched/task_startup.c:72
           #5  0x0400c66a in nxtask_start () at task/task_start.c:104
           #6  0x00000000 in ?? ()
       
   memset patch:
   memset: add none NEON version support for armv7-a/r:
   test with __ARM_NEON__ disable:
   boards/arm/qemu/qemu-armv7a/configs/nsh/
   
   arch:use ARCH_64BIT to mark arch is support 64bit
   no C code modify, only Kconfig modification.  Only need compile pass and CT 
pass.
   
   memcpy: fix link failed when open kasan:
   no C code modify, only Kconfig modification.  Only need compile pass and CT 
pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to