[all-commits] [llvm/llvm-project] 46d970: TypeCategory: Initialize m_enabled to false
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Thu Dec 12 11:39:48 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46d970cc436068af826e5f6a59033dd0f10c570d
https://github.com/llvm/llvm-project/commit/46d970cc436068af826e5f6a59033dd0f10c570d
Author: Vedant Kumar <vsk at apple.com>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M lldb/source/DataFormatters/TypeCategory.cpp
Log Message:
-----------
TypeCategory: Initialize m_enabled to false
The initialization was accidentally lost in https://reviews.llvm.org/D71310, causing a ubsan failure:
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35: runtime error: load of value 190, which is not a valid value for type 'bool'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35 in
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake-sanitized/621/consoleText
More information about the All-commits
mailing list