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

            Bug ID: 42735
           Summary: Properly handle 640-bit DWARF .debug_line sections
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@playstation.sony.com

The DWARFDebugLine LineTable parse functionality is decidedly mixed as to its
support for 64-bit line tables. The prologue parser understands DWARF64, and
the prologue's fields are appropriately uint64_t in size. However, the offset
pointer passed around is only a uint32_t one, as are various related variables
e.g. EndOffset and DebugLineOffset in LineTable::parse, which means that you'll
get weird behaviour if we ever actually exercise the parser on a large section.

We should fix this by updating the DataExtractor class to work with uint64_t
sizes, and updating all our offset variables in this file (including the PRIx32
printing of them).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to