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

via lldb-dev lldb-dev at lists.llvm.org
Tue May 17 05:39:44 PDT 2016


            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 at lists.llvm.org
          Reporter: tberghammer at google.com
                CC: llvm-bugs at 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:

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160517/00aec4d4/attachment.html>

More information about the lldb-dev mailing list