[llvm-bugs] [Bug 35480] New: Failure to hit a breakpoint in global constructors in a shared library

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 30 07:32:30 PST 2017


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

            Bug ID: 35480
           Summary: Failure to hit a breakpoint in global constructors in
                    a shared library
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: ezemtsov at google.com
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org

It's really as simple as it says on the box. The cause is probably that our
dynamic linker plugin hooks the shared library load event too late. This
affects Linux and probably all other ELF targets as well. I'll commit a
TestBreakpointInGlobalConstructors test to demostrate this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171130/406b3b7e/attachment.html>


More information about the llvm-bugs mailing list