[lldb-dev] [Bug 44736] New: Incorrect use of llvm::toStringRef in TypeSystem.cpp
via lldb-dev
lldb-dev at lists.llvm.org
Fri Jan 31 10:42:42 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44736
Bug ID: 44736
Summary: Incorrect use of llvm::toStringRef in TypeSystem.cpp
Product: lldb
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: cebtenzzre at gmail.com
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Commit 0e252e3 ("[Symbol] Use llvm::Expected when getting TypeSystems")
introduced several calls to llvm::toStringRef in
'lldb/source/Symbol/TypeSystem.cpp', each with a single 'const char *'
argument. The best matching overload is llvm::toStringRef(bool), resulting in
some unhelpful error messages.
Expected Behavior:
Internal error messages look like "TypeSystem for language swift doesn't
exist".
Actual Behavior:
Internal error messages look like "TypeSystem for language true doesn't exist".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200131/b5a6144f/attachment.html>
More information about the lldb-dev
mailing list