[lldb-dev] [Bug 51832] New: lldb/jit not working Windows

via lldb-dev lldb-dev at lists.llvm.org
Mon Sep 13 05:57:30 PDT 2021


            Bug ID: 51832
           Summary: lldb/jit not working Windows
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: steve at advance-software.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

Web Assembly (wasmtime) JIT debugging via lldb GDP/JIT interface not working on
Windows (trunk). 

Confirmed works Linux (llvm 10 - trunk status currently unknown on Linux).

Tried the following on Windows, using llvm trunk :

On Windows (running Windows 11 pre-release), the breakpoint isn't hit despite
it being the exact same test.

Tried llvm lldb/jit unit test on Windows.

I get the following : https://controlc.com/40a36c4d

... from executing test directly. 

Specific test filtered using :

set LIT_FILTER=Breakpoint/jit-loader_rtdyld_elf.test

Unit test fails. Failure appears to be in lli which sets up the test

It appears we have 2 bugs.

1. JIT breakpoints not getting hit

2. lli failing meaning unit test can't complete to confirm or otherwise whether
JIT debugging is working on Windows.

The following appeared to complete successfully - indicating required plugin

(lldb)  settings set plugin.jit-loader.gdb.enable on

However available & functioning are not the same thing.

To run same test on Linux - to confirm wasmtime is setting up debug environment
correctly, the following can be used - binary or buld from source  :


... in addition to the fizzbuzz.zip attachment which provides reproducible test
files & executibles on Windows.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20210913/dce77fca/attachment.html>

More information about the lldb-dev mailing list