aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2022-03-22 14:13:48 +0400
committerIgor Kudrin <ikudrin@accesssoftek.com>2022-03-22 16:46:47 +0400
commitd7681d9f77e05fb6321757b933d2eadd943b069d (patch)
treeab1dea110b8ddb38984d34754254d85a7e76e37e /llvm/lib/Transforms/Utils/Debugify.cpp
parent2881696b4062db320dc2d1456bb4269687133f3c (diff)
downloadllvm-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