[Lldb-commits] [PATCH] D33035: Tool for using Intel(R) Processor Trace hardware feature

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 20 09:55:56 PDT 2017


clayborg added a comment.

I am not sure how sensitive typemaps are to the names of the arguments? Maybe we can just have you use different names and then the two typemaps won't collide? You can also write some manual code to do the remapping without typemaps.

Regardless of whether you are going to change the API or not, you will need to write something to make it work in python.

  const uint8_t * ptdecoder_private:: Instruction::GetRawBytes() const;

What does swig do right now when the above code is converted to python? It needs to make a python string from this and the GetRawBytesSize()...


https://reviews.llvm.org/D33035





More information about the lldb-commits mailing list