Re: [lldb-dev] Allocation memory is failing in PPC64le

2017-12-05 Thread Pavel Labath via lldb-dev
On linux, we allocate memory by setting up the inferior registers to appear as if the inferior called mmap(2) upon resume. This is done in InferiorCallMmap. You should check whether this function sets up the context correctly. Things to look at are: - did it find the mmap address correctly? - are t

[lldb-dev] Allocation memory is failing in PPC64le

2017-12-05 Thread Alexandre Yukio Yamashita via lldb-dev
Hi, I am trying to implement the expression evaluation for PPC64le using JIT. But the LLDB is failling to allocate memory when it tries to evaluate an expression. A Thread Plan is being interrupted before LLDB tries to allocate memory. How could I check why this plan is not finishing? What functi