[PATCH] D110165: [DebugInfo][NFC] Move LiveDebugValues class declaration to a header, add unit test boilerplate
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 21 06:27:43 PDT 2021
jmorse created this revision.
jmorse added reviewers: Orlando, StephenTozer, TWeaver.
Herald added subscribers: hiraditya, mgorny.
jmorse requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Hi,
After pondering how best to communicate changes to this pass, I figured it's easiest if there are unit tests. There are several interacting internal phases, which aren't easily accessed from MIR tests. Thus, in this patch I copy the InstrRefBasedLDV and MLocTracker class definitions to a header, accompanied by various related utility classes. I've also added a unit-test C++ file with no actual tests in it, in preparation for the next patch which adds such tests.
This is almost entirely a copy and paste; there should be no functional changes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110165
Files:
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
llvm/unittests/CodeGen/CMakeLists.txt
llvm/unittests/CodeGen/InstrRefLDVTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110165.373889.patch
Type: text/x-patch
Size: 86196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210921/6b05d771/attachment.bin>
More information about the llvm-commits
mailing list