aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2023-03-21 12:03:54 -0400
committerSaleem Abdulrasool <compnerd@compnerd.org>2023-03-22 14:14:13 -0400
commit16b7cf245ec0ff5428daee4f71af62e1938bfc73 (patch)
tree02999e559ce7574aaa20c2f22cc04c5559f21b9b /lldb/test/API/python_api
parent24e3102edb4a48b8754efeaecad3e474a626f35c (diff)
downloadllvm-16b7cf245ec0ff5428daee4f71af62e1938bfc73.zip
llvm-16b7cf245ec0ff5428daee4f71af62e1938bfc73.tar.gz
llvm-16b7cf245ec0ff5428daee4f71af62e1938bfc73.tar.bz2
SymbolFile: ensure that we have a value before invoking `getBitWidth`
Ensure that the variant returned by `member->getValue()` has a value and is not `Empty`. Failure to do so will trigger an assertion failure in `llvm::pdb::Variant::getBitWidth()`. This can occur when the `static` member is a forward declaration. Differential Revision: https://reviews.llvm.org/D146536 Reviewed By: sgraenitz
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions