[Lldb-commits] [PATCH] D133944: [lldb][tests][gmodules] Test for expression evaluator crash for types with template base class

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 16 05:13:46 PDT 2022


Michael137 added inline comments.


================
Comment at: lldb/test/API/lang/cpp/gmodules/base-template-with-same-arg/module1.h:7
+struct ClassInMod1 {
+  ClassInMod3<float> VecInMod1;
+};
----------------
martong wrote:
> I was wondering whether you would have the crash if you used the directly the base class? I.e. if you had the `ClassInMod3Base<int> VecInMod1` here and `ClassInMod3Base<int> VecInMod2` in the other module.
Very true! Will reduce it down further, thanks


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133944



More information about the lldb-commits mailing list