[all-commits] [llvm/llvm-project] 32b645: [DebugInfo] Treat tag offsets as non-emitting (#21...

Eric Christopher via All-commits all-commits at lists.llvm.org
Tue Aug 4 12:22:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32b645d9d69b8c2e62890fed19203337beddf797
      https://github.com/llvm/llvm-project/commit/32b645d9d69b8c2e62890fed19203337beddf797
  Author: Eric Christopher <echristo at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    A llvm/test/DebugInfo/X86/di-expression-tag-offset-register.ll
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [DebugInfo] Treat tag offsets as non-emitting (#211969)

DW_OP_LLVM_tag_offset doesn't emit anything into the DWARF expression,
so look past it when deciding whether a register expression is complex
or whether appendToStack needs to add a dereference.

Tested with make check.

Assisted with AI.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list