diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2022-03-22 14:13:48 +0400 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2022-03-22 16:46:47 +0400 |
commit | d7681d9f77e05fb6321757b933d2eadd943b069d (patch) | |
tree | ab1dea110b8ddb38984d34754254d85a7e76e37e /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | 2881696b4062db320dc2d1456bb4269687133f3c (diff) | |
download | llvm-d7681d9f77e05fb6321757b933d2eadd943b069d.zip llvm-d7681d9f77e05fb6321757b933d2eadd943b069d.tar.gz llvm-d7681d9f77e05fb6321757b933d2eadd943b069d.tar.bz2 |
[NVPTX] Avoid a crash when 'llc' is called with '-filetype=null'
For '-filetype=null', 'NVPTXTargetStreamer' is not created, so the
return value of 'OutStreamer->getTargetStreamer()' should be checked
before calling the methods.
Differential Revision: https://reviews.llvm.org/D122001
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions