[lld] [llvm] [ICF] Add a NOP after branch in ICF thunk to improve debugability (PR #154986)
Peter Rong via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 10:59:29 PDT 2025
================
@@ -1913,7 +1913,6 @@ void AsmPrinter::emitFunctionBody() {
// Print out code for the function.
bool HasAnyRealCode = false;
- int NumInstsInFunction = 0;
----------------
DataCorrupted wrote:
`NumInstsInFunction` was already calculated for debugging purposes. We just promote them as a class member to help us determine if `DW_AT_LLVM_stmt_sequence` should be emitted.
https://github.com/llvm/llvm-project/pull/154986
More information about the llvm-commits
mailing list