[Lldb-commits] [PATCH] D73279: testsuite: generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 31 11:49:40 PST 2020


jankratochvil marked 8 inline comments as done.
jankratochvil added inline comments.


================
Comment at: lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h:24
+class YAMLModuleTester {
+  //  SubsystemRAII<FileSystem> subsystems;
+  SubsystemRAII<FileSystem, HostInfo, TypeSystemClang> subsystems;
----------------
aprantl wrote:
> ?
some leftover, sorry


================
Comment at: lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h:37
+
+  // Evaluate a raw DWARF expression.
+  llvm::Expected<Scalar> Eval(llvm::ArrayRef<uint8_t> expr);
----------------
aprantl wrote:
> ///
OK although it was even in the original file.


================
Comment at: lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h:38
+  // Evaluate a raw DWARF expression.
+  llvm::Expected<Scalar> Eval(llvm::ArrayRef<uint8_t> expr);
+};
----------------
aprantl wrote:
> Should this be implemented in a sub-class that is specific to the DWARFExpression tests?
Yes, true, I did not realize that, thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73279





More information about the lldb-commits mailing list