[Lldb-commits] [lldb] Don't require a UUID in a .dwp file. (PR #83935)

via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 5 11:22:11 PST 2024


================
@@ -139,6 +139,20 @@
 // RUN:   -o "target variable a" \
 // RUN:   -b %t | FileCheck %s
 
+// Now move the .debug and .dwp file into another directory so that we can use
----------------
jeffreytan81 wrote:

Are we able to create a stale dwp testcase to ensure lldb won't load mismatch dwo files in dwp after ignoring UUID?
For example, 
1. Build matching dwp for one target
2. Move target main executable to a different location
3. Modify source file and rebuild a new dwp which should not match the original saved executable
4. Try to debug the original saved binary which will load dwp but examining local variables should emit error due to mismatch dwo.


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


More information about the lldb-commits mailing list