jingham added a comment.

The test failed in the new form at line 77.  So we got the CU for 
compile_unit1.c and it was valid.  But it didn't contain an SBType for 
compile_unit1_type.  Probably the same thing is true in compile_unit2.c you 
just didn't get there.

Maybe your executable is too artificial?  You define a type in easy .c file, 
and you make a CU level variable with that type.  But neither of those 
variables are used by anything.  So some compiler that's being a little bit too 
smart for our good could discern that it can elide all those types.  Maybe make 
those struct elements extern and refer to them in main.c so that the compiler 
will have to keep them around?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88483

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to