aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-10-08 18:13:48 -0500
committerGitHub <noreply@github.com>2025-10-08 18:13:48 -0500
commit67b789baf47d4e496f9f97912ea03048b63b851b (patch)
tree227c30e4628e0b800429add3f3629cebb4d7c27a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentc083fa1597f1a34fcab4c2910158a288defc72f6 (diff)
downloadllvm-67b789baf47d4e496f9f97912ea03048b63b851b.zip
llvm-67b789baf47d4e496f9f97912ea03048b63b851b.tar.gz
llvm-67b789baf47d4e496f9f97912ea03048b63b851b.tar.bz2
[NVPTX] Fix global destructor handling not working with a single dtor (#162537)
Summary: Very small typo here caused it to not enter the main loop if the size was not greater than 1. The inner loop is "less than" so the inverse should be "greater than or equal" but we were only doing "greater than". Did not notice this because the libc handling does its own implementation and the OpenMP tests only tested multiple destructors, and most people only ever use global constructors when they show up on the GPU.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions