[lldb-dev] Adding a new architecture into LLDB

Romaric Jodin via lldb-dev lldb-dev at lists.llvm.org
Tue Jun 18 07:08:22 PDT 2019


Hello everyone,

I am trying to add a new architecture into LLDB.
My architecture is a accelerator with its own ISA for which we have a LLVM
backend (release 7.1).

I have started by creating a new NativeProcessProtocol for my architecture.
So I have a lldb-server that run on a x86, but which takes care of process
of my architecture. I have forced it to use my NativeProcessProtocol.
I have a issue with this method because as the lldb-server is compile to
run on a x86, some part of the code think that it is managing x86 process.

Maybe I am going in the wrong direction to add such new architecture to
LLDB, I would be happy to try any other suggestions.

If you are interested, you can have a look at my branch
"dev/rjodin/lldb_dpu" in our forked repo of LLDB "
https://github.com/upmem/lldb". The branch is not clean, but it can help
you understand what I did.

Thanks,
-- 
*Romaric JODIN*
UPMEM
*Software Engineer*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190618/ac618c6d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo signature mail 50x50.png
Type: image/png
Size: 1939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190618/ac618c6d/attachment.png>


More information about the lldb-dev mailing list