Comments (16)
FWIW, I released a new version now, and this build now includes LLDB.
from llvm-mingw.
Yes, LLDB kind of should work. I've been working lately on making sure it works to build in a mingw setup, and to make it work for arm and arm64 as well (or at least compiles):
llvm/llvm-project@f4deacf
llvm/llvm-project@2e25c44
llvm/llvm-project@8969f8d
llvm/llvm-project@fb31852
llvm/llvm-project@8b98f12
llvm/llvm-project@638f072
llvm/llvm-project@02dddfd
llvm/llvm-project@b1f6ba2
(and a couple more)
There's still a few bits left before I'd prefer to enable it in my builds, because right now building still fails for arm32 because some bits are unimplemented. I could of course spend some extra effort to only enable lldb for i686/x86_64/arm64, complicating build-llvm.sh even more, but it's not far away to have it building nicely on all four architectures now.
from llvm-mingw.
Is it possible to include lldb-mi
? Then it should work with vscode-cpptools without Python support
from llvm-mingw.
Hmm, lldb-mi seems to have been split out to a standalone repo, so it's a bit more hassle, but I guess it should be doable.
The main lldb repo does contain a tool called lldb-vscode though. Is that useful for the same purpose, or does it do something entirely different?
from llvm-mingw.
from llvm-mingw.
I checked lldb-vscode more carefully - looks like it does not need Python (it is third tool of the same type), should be great to include there instead of lldb-mi
from llvm-mingw.
Try https://martin.st/temp/llvm-mingw-x86_64-vscode.zip, which has lldb-vscode.exe included.
from llvm-mingw.
Thanks, I tested it but it does not work correctly, seems it needs collaboration with their developers/maintainers
from llvm-mingw.
Ok.
I tested building lldb-mi now, but it doesn't seem to support building for windows (not sure how much or little work is needed on it) - so my suggestion would be to try to figure out what the status of lldb-vscode is and how to make it work.
from llvm-mingw.
I tested building lldb-mi now, but it doesn't seem to support building for windows (not sure how much or little work is needed on it)
Apparently lldb-mi is included in the public releases of llvm for windows, so it should be supported, so it could be something in how I'm setting up my build, or it could be some recent breakage.
If you want to try that out, you could get the prebuilt versions of it from https://releases.llvm.org/download.html#9.0.0. Do note that the lldb parts of it require you to have exactly python36.dll
available for it to run at all.
from llvm-mingw.
Some upgrade regarding lldb-mi:
Upstream has fixed building lldb-mi on mingw targets lldb-tools/lldb-mi#52, so if you feel like checking out another repo then give it a try
from llvm-mingw.
Some upgrade regarding lldb-mi:
Upstream has fixed building lldb-mi on mingw targets lldb-tools/lldb-mi#52, so if you feel like checking out another repo then give it a try
In #83 (comment) you mentioned that even if you managed to build lldb-mi, it didn't seem to work/do anything useful in vscode - has this changed, or are you just wanting to test a newer build (or use it with another IDE)?
from llvm-mingw.
I have build latest lldb-mi with latest release/11.x branch, it can works with vscode c++ extension.
from llvm-mingw.
are you just wanting to test a newer build (or use it with another IDE)?
I'm not sure if it works with VSCode now, and I don't really need it to work anyway, since VSCode has its own way of doing it (the Debug Adapter Protocol, which works wonderfully), so this is mainly for users with other IDE (like Qt Creator)
from llvm-mingw.
I looked into getting lldb-mi built as part of this - and https://martin.st/temp/llvm-mingw-11-test-x86_64.zip is a test build including it. Does it seem to work and do something meaningful for anyone?
from llvm-mingw.
I know someone who can help
@RussellHaley Can you please test lldb-mi in this package?
from llvm-mingw.
Related Issues (20)
- llvm-mingw-20240130-ucrt-ubuntu-20.04-x86_64 fails to build Wine 9.x (ld.lld: error: duplicate symbol: __chkstk) HOT 9
- Build linux/arm64 docker images HOT 1
- [20240130 with LLVM 18.1.0 RC 1] Unable to link HOT 9
- LLDB: Unexpected scripting behaviour HOT 6
- ld.lld could not open libOLDNAMES.a HOT 4
- docker: update the base image to ubuntu 22.04? HOT 11
- lldb-vscode missing in 18.1 releases HOT 2
- Unable to run the latest docker image HOT 3
- Microsoft Defender reports Trojan in Release llvm-mingw-20231128-msvcrt-i686.zip llvm-size.exe HOT 3
- Treat file content as command line (feature request) HOT 2
- `fcloseall()` is missing (feature request) HOT 6
- DLLs should be available via --print-file-name HOT 8
- What is the difference between this llvm distribution and the one installed from msys2 pacman? HOT 3
- adding split debug info to the release? HOT 1
- -O2 -flto -fcs-profile-generate cause undefined symbol
- Missing `windmc.exe` Message Compiler
- Missing LLVM header files in resulting zip when building with FULL_LLVM=1 HOT 1
- Supporting passing .rc and .res files on command line
- Installation HOT 8
- ld.lld.exe segfaulting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llvm-mingw.