Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-13 Thread Zachary Turner via lldb-dev
Two things stand out to me as odd here. 1) -glldb. -g is supposed to specify the debug information format, either dwarf, codeview, or whichever is the default. I've never heard of anyone using -glldb (or for that matter -ggdb). Just -g, -gcodeview, or -gdwarf. 2) You're using clang instead of

Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-13 Thread Adrian McCarthy via lldb-dev
Sorry for the delay. There's definitely something going wrong here. If you specify the .pdb file (target symbols add a.pdb), it iterates through the objfile plugins to see if any match, and none of them do (because a PDB file is not a "module"). If you specify the .exe file (target symbols add a

Re: [lldb-dev] DEBUG_PRINTF() macro

2019-03-13 Thread Jim Ingham via lldb-dev
Seems like there are two kinds of DEBUG_PRINTF. One is in SymbolFileDWARF, DWARFASTParserClang.cpp etc, where that is inserting code into lldb. Those uses seem to me like they should be going to the dwarf log channel when verbose is on. Many of these places also acquire the dwarf log, so th

[lldb-dev] DEBUG_PRINTF() macro

2019-03-13 Thread Zachary Turner via lldb-dev
Apparently we have a macro called DEBUG_PRINTF() which, if you compile LLDB with a special pre-processor setting enabled, will cause certain messages to be printed to stdout while running LLDB. Does anyone use this? This seems like a kind of hacky alternative to tracepoints and/or pretty printers

[lldb-dev] [8.0.0 Release] Release Candidate 5 sources, docs, and binaries available

2019-03-13 Thread Hans Wennborg via lldb-dev
Hello everyone, Source code, docs, and (a few) binaries for LLVM-8.0.0-rc5 are now available at https://prereleases.llvm.org/8.0.0/#rc5 More binaries will be added as they become available. So far this looks like it will be the last release candidate before the final tag, which will come soon, s

Re: [lldb-dev] Needs help contributing to lldb-vscode.

2019-03-13 Thread Pavel Labath via lldb-dev
On 12/03/2019 20:34, Leonard Mosescu via lldb-dev wrote: Greg, what do you think? On Tue, Mar 12, 2019 at 11:50 AM Qianli Ma > wrote: Hi lldb community, I am currently working on a project related to lldb. I'd like to write a DAP RPC server similars t