aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-10-27 17:00:41 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2022-01-19 18:40:13 -0600
commitdd75a6b2ae5c9c6628fb855473dc2f31073440d0 (patch)
tree7642f25cad7b56156df26b924ac7032627a08e03 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentb4a7559844d06928234d576335316bf82d792c08 (diff)
downloadllvm-dd75a6b2ae5c9c6628fb855473dc2f31073440d0.zip
llvm-dd75a6b2ae5c9c6628fb855473dc2f31073440d0.tar.gz
llvm-dd75a6b2ae5c9c6628fb855473dc2f31073440d0.tar.bz2
[DWARF][FIX] Try not to crash for nvptx with missing debug information
This prevents crashes in the OpenMP offload pipeline as not everything is properly annotated with debug information, e.g., the runtimes we link in. While we might want to have them annotated, it seems to be generally useful to gracefully handle missing debug info rather than crashing. TODO: A test is missing and can hopefully be distilled prior to landing. This fixes #51079. Differential Revision: https://reviews.llvm.org/D116959
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions