Re: [lldb-dev] [llvm-dev] ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration

2020-03-14 Thread Stefan Gränitz via lldb-dev
Great, this should work with GDB on Linux now! Hope to find the time
soon to double-check.

Note that for LLDB we have to fix the second part of this regression
(source-level debugging):
https://bugs.llvm.org/show_bug.cgi?id=36209

For MachO support on macOS we need to implement `getObjectForDebug()` here:
https://code.woboq.org/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp.html#_ZNK12_GLOBAL__N_121LoadedMachOObjectInfo17getObjectForDebugERKN4llvm6object10ObjectFileE

Best,
Stefan

On 10/03/2020 09:28, Geoff Levner via llvm-dev wrote:
> +1. Once ORC JIT supports debugging and profiling, it will have
> everything we need.
>
> Thanks, Lang!
>
>
> On Mon, Mar 9, 2020 at 9:21 PM Frank Tetzel via llvm-dev
> mailto:llvm-...@lists.llvm.org>> wrote:
>
> Hi Lang,
>
> > First: there is a preview patch up at
> https://reviews.llvm.org/D75838
> > to enable use of JITEventListeners in RTDyldObjectLinkingLayer. I've
> > only done very preliminary testing on it, but was able to debug
> > simple JIT'd programs on Linux using the GDB registration listener.
> > If you've been wanting to move to ORC but held up by lack of
> debugger
> > / profiler registration, chime in on the review -- I'd appreciate
> > feedback and help with testing. I will also post a bug tomorrow for
> > investigating similar (or hopefully better) debugger registration
> > functionality for JITLink.
>
> Does this also include support for PerfEventListener for profiling
> with
> perf?
>
> I think, debugging and profiling support is very important for a JIT
> engine. I could never get it to work with older LLVM versions. Is
> there
> example code somewhere available?
>
> Best regards,
> Frank
> ___
> LLVM Developers mailing list
> llvm-...@lists.llvm.org 
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
> ___
> LLVM Developers mailing list
> llvm-...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-- 
https://flowcrypt.com/pub/stefan.graen...@gmail.com

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [GSoC][RFC] Autosuggestions proposal

2020-03-14 Thread Shu Anzai via lldb-dev

Hi all,

I am applying for the Autosuggestions project in LLDB and I was looking 
for feedback on my proposal before submitting it:
https://docs.google.com/document/d/12ckOCTw9hn3kvJUuWS_OO3Zw3FHEpKmpnxPlfqspzKo/edit?usp=sharing 



Thanks,

Shu Anzai

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Question about LLDB SBEvent C++ API

2020-03-14 Thread Rui Liu via lldb-dev
Hi LLDB devs,

The SBEvent API has GetType() method on it, which returns a uint32_t,
however I didn't find any documentation on how to interpret this
uint32_t... Is there a enum for it somewhere?

There is a GetDescription() API to create a human-readable string, but I'd
rather to inspect the event type programmatically.

Overall I find the API is not documented very well, which makes it quite
hard to use... For example, I didn't find a place that explains what are
the the possible event types and what data they carry. (I didn't even find
an enum!) Are there any good resources that I might not discover yet?

Also any advice on how to use LLDB C++ API (without prior knowledge) would
be much appreciated!

Thanks,
Rui
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [GSoC][RFC] Implement missing tab completions for LLDB

2020-03-14 Thread DengGongYu via lldb-dev
To whom it may concern,

My name is Gongyu Deng, a student applying for the project "Implement missing 
tab completions for LLDB”.

At your convenience, would you please give me any opinion about my proposal 
here [1]? 

I would appreciate your insights.

Sincerely
Gongyu Deng

[1] 
https://docs.google.com/document/d/1oM-Z8RAwBhDoIDvvYDCO7xVB0YSYpRzfk232ExNJIIU/edit?usp=sharing
 
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev