[lldb-dev] [Bug 44180] New: TestShowLocationDwarf5.py fails on AArch64 Ubuntu

via lldb-dev lldb-dev at lists.llvm.org
Fri Nov 29 01:36:29 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=44180

            Bug ID: 44180
           Summary: TestShowLocationDwarf5.py fails on AArch64 Ubuntu
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: diana.picus at linaro.org
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

ERROR: test_source_map_dwo (TestShowLocationDwarf5.TestTargetSourceMap)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1851, in setUp
    Base.setUp(self)
  File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 825, in setUp
    self.darwinWithFramework = self.platformIsDarwin()
  File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1299, in platformIsDarwin
    return lldbplatformutil.platformIsDarwin()
  File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py",
line 142, in platformIsDarwin
    return getPlatform() in getDarwinOSTriples()
  File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py",
line 132, in getPlatform
    platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2]
AttributeError: 'NoneType' object has no attribute 'split'
Config=aarch64-/home/diana.picus/llvm-envs/lldb/build/bin/clang-10

Strangely enough, this only happens for dwo (dwarf passes).

-- 
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/20191129/d887b285/attachment.html>


More information about the lldb-dev mailing list