[PATCH] D59938: [DebugInfo] Make InstrRange into a class, NFC

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 08:39:08 PDT 2019


dstenb created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Replace use of std::pair by creating a class for the debug value
instruction ranges instead. This is a preparatory refactoring for
improving handling of clobbered fragments.

In an upcoming commit the Begin pointer will become a PointerIntPair, so
it will be cleaner to have a getter for that.


Repository:
  rL LLVM

https://reviews.llvm.org/D59938

Files:
  include/llvm/CodeGen/DbgEntityHistoryCalculator.h
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59938.192643.patch
Type: text/x-patch
Size: 9232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190328/5752445c/attachment.bin>


More information about the llvm-commits mailing list