[Lldb-commits] [lldb] [lldb] [Mach-O] ProcessMachCore needs to strip TBI data from addrs (PR #84998)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 13 01:51:34 PDT 2024


================
@@ -0,0 +1,13 @@
+#include <stdint.h>
+#include <stdio.h>
+union ptrbytes {
+  int *p;
+  uint8_t bytes[8];
+};
----------------
DavidSpickett wrote:

I like this way of avoiding shifts.

https://github.com/llvm/llvm-project/pull/84998


More information about the lldb-commits mailing list