[Bug 27787] New: TopLevelExpressions fails on Android API 21-22

Bug ID 27787
Summary TopLevelExpressions fails on Android API 21-22
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter tberghammer@google.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Evaluating the final expression of the test case fails on Android API 21-22
with the following compile error:

error: warning: inline function 'DiamondD::~DiamondD' is not defined
used here
also defined here
error: cannot import unsupported AST node CXXFunctionalCastExpr
error: Couldn't lookup symbols:
  vtable for __cxxabiv1::__class_type_info
  vtable for __cxxabiv1::__vmi_class_type_info

Expression failed to evaluate:
int doTest() 
    int a = m.memberResult(); 
    a += MyClass::staticResult(); 
    a += m.externResult(); 
    a += MyEnum::myEnumThree; 
    a += myEnumOne; 
    a += AnotherClass().complicatedFunction(); 
    a += DiamondD(3).accessor(); 
    return a; 

Definition of DiamondD:
class DiamondA
  struct {
    int m_i;
  DiamondA(int i) : m_i(i) { }
  int accessor() { return m_i; }

class DiamondB : public virtual DiamondA
  DiamondB(int i) : DiamondA(i) { }

class DiamondC : public virtual DiamondA
  DiamondC(int i) : DiamondA(i) { }

class DiamondD : public DiamondB, public DiamondC
  DiamondD(int i) : DiamondA(i), DiamondB(i), DiamondC(i) { }

Failure reports from the build bots:

Build fingerprints for devices where the issue is known to be reproducable: