[PATCH] D114261: [DebugInfo][2/N] Instruction referencing tests: cope with switched variable order

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 09:52:55 PST 2021


jmorse created this revision.
jmorse added reviewers: StephenTozer, Orlando, TWeaver, djtodoro.
Herald added a subscriber: pengfei.
jmorse requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Enabling instruction referencing causes a few variable locations to switch order -- i.e., they switch position in the output DWARF, or sometimes the order of DBG_VALUEs. This isn't significant from a correctness point of view, but does lead to some tests needing updating. The largest change is debug-loclists.ll, where a large amount of location-list offset information changes -- correctly I believe, but it could do with closer examination.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114261

Files:
  llvm/test/CodeGen/X86/debug-loclists.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
  llvm/test/DebugInfo/X86/constant-loclist.ll
  llvm/test/DebugInfo/X86/float_const_loclist.ll
  llvm/test/DebugInfo/X86/pieces-4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114261.388544.patch
Type: text/x-patch
Size: 11452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/12c72177/attachment.bin>


More information about the llvm-commits mailing list