diff options
author | Jakub Chlanda <jakub@codeplay.com> | 2023-07-17 11:34:54 +0200 |
---|---|---|
committer | Jakub Chlanda <jakub@codeplay.com> | 2023-07-17 11:39:29 +0200 |
commit | 3cd3f11c174baa001b337b88c7a6507eb5705cf2 (patch) | |
tree | 0fa4d8e0504320f2007fbc9953385bfdac002c83 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | faca9fdc4f79c24a51c585827de4c2d836c788fe (diff) | |
download | llvm-3cd3f11c174baa001b337b88c7a6507eb5705cf2.zip llvm-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz llvm-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.bz2 |
[NFC][AMDGPU] Default initialize the Subtarget
This is to address a static analizer warning:
The pointer field will point to an arbitrary memory location, any
attempt to write may cause corruption. In <unnamed>
R600DAGToDAGISel.:R600DAGToDAGISel (llvm::TargetMachine &,
livm::CodeGenOpt::Level): A pointer field is not initialized in the
constructor (CWE-457)
Differential Revision: https://reviews.llvm.org/D154414
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions