[PATCH] D110165: [DebugInfo][NFC] Move LiveDebugValues class declaration to a header, add unit test boilerplate

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 21 06:41:07 PDT 2021


djtodoro added inline comments.
Herald added a subscriber: ormris.


================
Comment at: llvm/unittests/CodeGen/InstrRefLDVTest.cpp:32
+public:
+  // Boilerplate,
+  LLVMContext Ctx;
----------------
I guess we don't need this.


================
Comment at: llvm/unittests/CodeGen/InstrRefLDVTest.cpp:47
+
+  InstrRefLDVTest() : Ctx(), Mod("beehives", Ctx) {
+    // Boilerplate that creates a MachineFunction and associated blocks.
----------------
So this is just an infrastructure, and we are going to add tests here in the future patches?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110165



More information about the llvm-commits mailing list