[Lldb-commits] [PATCH] D56798: Change TypeSystem::GetBitSize() to return an optional result.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 16 11:08:59 PST 2019


aprantl created this revision.
aprantl added reviewers: labath, zturner, jingham, shafik.
Herald added a reviewer: serge-sans-paille.

This patch changes the behavior when printing C++ function references: where we previously would get a `<could not determine size>`, there is now a `<no summary available>`. It's not clear to me whether this is a bug or an omission, but it's one step further than LLDB previously got.


https://reviews.llvm.org/D56798

Files:
  include/lldb/Symbol/ClangASTContext.h
  include/lldb/Symbol/TypeSystem.h
  lit/SymbolFile/NativePDB/function-types-builtins.cpp
  packages/Python/lldbsuite/test/lang/c/struct_types/main.c
  packages/Python/lldbsuite/test/lang/cpp/function_refs/Makefile
  packages/Python/lldbsuite/test/lang/cpp/function_refs/TestFunctionRefs.py
  packages/Python/lldbsuite/test/lang/cpp/function_refs/main.cpp
  source/Core/Value.cpp
  source/Symbol/ClangASTContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56798.182106.patch
Type: text/x-patch
Size: 9641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190116/f01995ee/attachment.bin>


More information about the lldb-commits mailing list