[all-commits] [llvm/llvm-project] cf033b: [DebugInfo][NFC] Zero-initialize a class field
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Tue Oct 19 02:27:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf033bb2d39c42818e3f13829b5ac6cc66b0ed6f
https://github.com/llvm/llvm-project/commit/cf033bb2d39c42818e3f13829b5ac6cc66b0ed6f
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2021-10-19 (Tue, 19 Oct 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
Log Message:
-----------
[DebugInfo][NFC] Zero-initialize a class field
This field gets assigned when the relevant object starts being used; but it
remains uninitialized beforehand. This risks introducing hard-to-detect
bugs if something changes, so zero-initialize the field.
More information about the All-commits
mailing list