[lldb-dev] [Bug 44748] New: ObjectFile/ELF tests fail due to mismatched ID

via lldb-dev lldb-dev at lists.llvm.org
Fri Jan 31 22:22:07 PST 2020


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

            Bug ID: 44748
           Summary: ObjectFile/ELF tests fail due to mismatched ID
           Product: lldb
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: mgorny at gentoo.org
                CC: jdevlieghere at apple.com, labath at google.com,
                    llvm-bugs at lists.llvm.org

lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_INTERP.yaml
    lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_TLS.yaml
    lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-section.yaml
    lldb-shell :: ObjectFile/ELF/PT_LOAD.yaml
    lldb-shell :: ObjectFile/ELF/PT_TLS-overlap-PT_LOAD.yaml


All of them seem to suffer from expecting 64-bit ID in output but getting
32-bit value instead, e.g.:

/home/mgorny/llvm-project.real/lldb/test/Shell/ObjectFile/ELF/PT_LOAD-overlap-PT_INTERP.yaml:8:15:
error: CHECK-NEXT: expected string not found in input
# CHECK-NEXT: ID: 0xfffffffffffffffe
              ^
<stdin>:11:2: note: scanning from here
 ID: 0xfffffffe
 ^


I'm wondering whether this is intentional (i.e. tests need to be fixed) or the
code should be using a 64-bit unconditionally.  If the former, should we try to
split the tests or maybe just hack it around in lldb-test?

-- 
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/20200201/829a6185/attachment.html>


More information about the lldb-dev mailing list