================
@@ -0,0 +1,19 @@
+#include <assert.h>
+#include <stdint.h>
+#include <stdio.h>
+
+int myglobal = 41;
+
+uint64_t get_high_bits(void *ptr) {
+ uint64_t mask = ~((1ULL << 48) - 1);
+ uint64_t ptrtoint = (uint64_t)ptr;
+ uint64_t high_bits = ptrtoint & mask;
----------------
felipepiovezan wrote:
my bad, I meant to do it but forgot.
https://github.com/llvm/llvm-project/pull/153585
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits