aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-02-19 11:38:04 +0000
committerGitHub <noreply@github.com>2024-02-19 11:38:04 +0000
commit5b342e6041f8567a39354ae3c5346cf74b3bb84f (patch)
treedfc35adc3fa2621e16a077f5c6c04360e0d49932 /lldb/source/Commands/CommandObjectFrame.cpp
parent769c22f25b81b74e4da7871d4e552584605caef1 (diff)
downloadllvm-5b342e6041f8567a39354ae3c5346cf74b3bb84f.zip
llvm-5b342e6041f8567a39354ae3c5346cf74b3bb84f.tar.gz
llvm-5b342e6041f8567a39354ae3c5346cf74b3bb84f.tar.bz2
[RemoveDIs][DebugInfo] Check for null marker when printing DPValues (#82238)
The function to print DPValues currently tries to incorporate the function it is part of, which is found through its marker; this means when we try to print a DPValue with no marker, we dereference a nullptr. We can print instructions without parents, and so the same should be true for DPValues; this patch changes DPValue::print to check for a null marker and avoid dereferencing it. Fixes issue: https://github.com/llvm/llvm-project/issues/82230
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions