[Lldb-commits] [PATCH] D20368: Remove Platform usages from NativeProcessLinux

Nitesh Jain via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 10 02:01:44 PDT 2016


nitesh.jain added inline comments.

================
Comment at: source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp:438
@@ +437,3 @@
+    // The auxiliary vector consists of a sequence of key-value pairs, where key and value are of
+    // the pointer size for the architecture that the process is running on. We can use this to
+    // detect the process architecture. We will try reading the vector as if it were a 64-bit
----------------
There are three flavours of ABI,

|  ABI | pointer-size  | Arch | Processs Type 
|     O32 |    4             |   Mips32  |       32 bit 
| N32        |4               | Mips64   |      32 bit 
| N64        |8               | Mips64   |     64 bit 

So not sure whether it will work for "N32", I will check and let you know asap.


http://reviews.llvm.org/D20368





More information about the lldb-commits mailing list