diff options
author | Pavel Labath <pavel@labath.sk> | 2025-05-07 15:02:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-07 15:02:21 +0200 |
commit | 21501d1cf290a63760904fb125e77b432db49933 (patch) | |
tree | ae26ab1c459dcfc1327ec585444818570e1ed8a5 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 0db040576d4ccb313fc58a90e1b4149f7589cc8c (diff) | |
download | llvm-21501d1cf290a63760904fb125e77b432db49933.zip llvm-21501d1cf290a63760904fb125e77b432db49933.tar.gz llvm-21501d1cf290a63760904fb125e77b432db49933.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions