This is an archive of the discontinued LLVM Phabricator instance.

[Coverity] Fix uninitialized scalar members in MC
ClosedPublic

Authored by akshaykhadse on Apr 20 2023, 9:46 AM.

Details

Summary

This change fixes static code analysis errors

Diff Detail

Event Timeline

akshaykhadse created this revision.Apr 20 2023, 9:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2023, 9:46 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
akshaykhadse requested review of this revision.Apr 20 2023, 9:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2023, 9:46 AM
LuoYuanke retitled this revision from Fix uninitialized scalar members in MC to [Coverity] Fix uninitialized scalar members in MC.Apr 20 2023, 10:37 PM
pengfei added inline comments.Apr 22 2023, 10:16 PM
llvm/include/llvm/MC/MCMachObjectWriter.h
35

0

llvm/include/llvm/MC/MCObjectStreamer.h
49

0

Address review comments

akshaykhadse marked 2 inline comments as done.Apr 22 2023, 11:27 PM
pengfei accepted this revision.Apr 22 2023, 11:42 PM

LGTM.

This revision is now accepted and ready to land.Apr 22 2023, 11:42 PM
This revision was landed with ongoing or failed builds.Apr 23 2023, 12:30 AM
This revision was automatically updated to reflect the committed changes.