[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 10 14:04:34 PDT 2024
================
@@ -0,0 +1,21 @@
+#include <cstring>
+
+int main() {
+ constexpr char SINGLE_INSTANCE_STRING[] = "there_is_only_one_of_me";
----------------
clayborg wrote:
If you take constexpr off of here, you can create the variable on the stack, and then just use the memory region for the SP of the current thread to find the region?
https://github.com/llvm/llvm-project/pull/95007
More information about the lldb-commits
mailing list