Files
clang-p2996/llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
Felipe de Azevedo Piovezan b2020fe3aa [DbgHistoryCalculator] Improve debug messages
I've found that a frequent source of debug information loss in optimized
code is due to DEBUG_VALUE intrinsics in a position of the instruction
stream that is outside the scope of the variable it describes.

Tracking these is pretty difficult with the existing debug messages of
the history calculator; this patch addresses the issue by making it
obvious when this event happens.

Differential Revision: https://reviews.llvm.org/D147718
2023-04-11 08:41:29 -04:00

24 KiB