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@lists.llvm.org
Reporter: cebtenz...@gmail.com
CC: jdevliegh...@apple.com, llvm-b...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev