llvm-project
21501d1c - [lldb] Fix dynamic type resolutions for core files (#138698)

Commit
148 days ago
[lldb] Fix dynamic type resolutions for core files (#138698) We're reading from the object's vtable to determine the pointer to the full object. The vtable is normally in the "rodata" section of the executable, which is often not included in the core file because it's not supposed to change and the debugger can extrapolate its contents from the executable file. We weren't doing that. This patch changes the read operation to use the target class (which falls back onto the executable module as expected) and adds the missing ReadSignedIntegerFromMemory API. The fix is tested by creating a core (minidump) file which deliberately omits the vtable pointer.
Author
Parents
Loading