wasm-micro-runtime/product-mini/platforms
YAMAMOTO Takashi 8318333304
nuttx: Add CONFIG_INTERPRETERS_WAMR_DEBUG_AOT (#2929)
At least it's sometimes useful for nuttx sim.

eg. (modified a bit to avoid github autolinks)
```
spacetanuki% lldb ./nuttx
(lldb) target create "./nuttx"
Current executable set to '/Users/yamamoto/git/nuttx/nuttx/nuttx' (x86_64).
(lldb) settings set plugin.jit-loader.gdb.enable on
(lldb) b foo
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
(lldb) r
Process 37011 launched: '/Users/yamamoto/git/nuttx/nuttx/nuttx' (x86_64)

NuttShell (NSH) NuttX-10.4.0
nsh> mount -t hostfs -o fs=/tmp/wasm /mnt
nsh> iwasm /mnt/test.aot
1 location added to breakpoint 1
Process 37011 stopped
* thread #_1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #_0: 0x0000000105800673 JIT(0x1058002d4)`foo(exenv=0x0000000101284280) at test.c:5
   2
   3    __attribute__((noinline))
   4    void foo()
-> 5    {
   6        printf("hello from %s\n", __func__);
   7    }
   8
Target 0: (nuttx) stopped.
(lldb) bt
* thread #_1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #_0: 0x0000000105800673 JIT(0x1058002d4)`foo(exenv=0x0000000101284280) at test.c:5
    frame #_1: 0x000000010580077a JIT(0x1058002d4)`bar(exenv=0x0000000101284280) at test.c:12:2
    frame #_2: 0x000000010580086a JIT(0x1058002d4)`baz(exenv=0x0000000101284280) at test.c:19:2
    frame #_3: 0x0000000105800972 JIT(0x1058002d4)`__main_argc_argv(exenv=<unavailable>, argc=<unavailable>, argv=<unavailable>) at test.c:26:3
    frame #_4: 0x00000001058061aa JIT(0x1058002d4)`aot_func#14 + 278
    ...
```
2023-12-26 16:56:34 +08:00
..
alios-things Fix data/elem drop (#2747) 2023-11-18 08:50:16 +08:00
android Fix several issues in CI binary releasing (#2064) 2023-03-26 12:19:45 +08:00
common Fix typos of CIDR in docs and help text (#2851) 2023-12-04 11:38:54 +08:00
cosmopolitan Add Cosmopolitan Libc Platform (#2598) 2023-10-04 21:55:37 +08:00
darwin Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
esp-idf ESP-IDF platform supports to load AOT to PSRAM and run it (#2385) 2023-07-27 10:17:21 +08:00
freebsd Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
ios Fix build error with LLVM 16 (#2259) 2023-06-06 13:45:18 +08:00
linux product-mini/platforms/linux: Mark vmlib POSITION_INDEPENDENT_CODE (#2323) 2023-06-29 14:57:27 +08:00
linux-sgx Fix typos of CIDR in docs and help text (#2851) 2023-12-04 11:38:54 +08:00
nuttx nuttx: Add CONFIG_INTERPRETERS_WAMR_DEBUG_AOT (#2929) 2023-12-26 16:56:34 +08:00
posix Generate jitdump to support linux perf for LLVM JIT (#2788) 2023-11-27 15:42:00 +08:00
riot Normalize how the global heap pool is configured across iwasm apps (#1628) 2022-10-25 21:36:24 +08:00
rt-thread Fix compiling error for RT-Thread (#2569) 2023-09-21 13:33:03 +08:00
vxworks Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
windows Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
zephyr/simple Update Zephyr support to v3.5.0 and make instructions generic to boards (#2805) 2023-11-23 09:56:04 +08:00