[PATCH] D114262: [DebugInfo][3/N] Instruction referencing tests: add extra instr-ref mode lines to several tests

treb jtyda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 00:13:54 PDT 2023


sapey added a comment.
Herald added a project: All.

Hi Snow Rider 3D <https://snowrider3d.co>
Your help is much appreciated.

  ;; In instruction referencing mode, we should refer to the instruction number
  ;; of the earlier DBG_PHIs.
  ; INSTRREF:     ADJCALLSTACKUP
  ; INSTRREF-NOT: DBG_
  ; INSTRREF-DAG: DBG_INSTR_REF 1, 0, ![[S1]], !DIExpression(DW_OP_LLVM_fragment, 0, 64)
  ; INSTRREF-DAG: DBG_INSTR_REF 2, 0, ![[S1]], !DIExpression(DW_OP_LLVM_fragment, 64, 64)
  
  ; And then no more DBG_ instructions before the add.
  ; COMMON-NOT: DBG_
  ; COMMON:     ADD32rr




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114262/new/

https://reviews.llvm.org/D114262



More information about the llvm-commits mailing list