https://bugs.kde.org/show_bug.cgi?id=384727

            Bug ID: 384727
           Summary: valgrind does not support debug info for read only
                    segments (generated by LLD)
           Product: valgrind
           Version: 3.14 SVN
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: ori...@gmx.fr
  Target Milestone: ---

By default (without --no-rosegment option) LLD [1] puts read only code in read
only segments (and provides debug info for it). However, valgrind fails to
parse ELF files that contain debug info for read only segments.

Here is an incomplete attempt to fix this: [2]
It parses read only segments, but then fails to match them with read only
sections at [3]

[1] http://lld.llvm.org/
[2] https://github.com/orivej/valgrind/commits/lld
[3]
https://github.com/orivej/valgrind/blob/c59bf5c215f85fb08605708b51f88777227885ae/coregrind/m_debuginfo/readelf.c#L2121

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to