[lldb-dev] [Bug 21375] New: test_with_dwarf (TestCPPBreakpoints.CPPBreakpointTestCase) failing (-F only finds ::Function)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 24 14:22:56 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21375

            Bug ID: 21375
           Summary: test_with_dwarf
                    (TestCPPBreakpoints.CPPBreakpointTestCase) failing (-F
                    only finds ::Function)
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

Reproducing manually shows breakpoint set -F Function only finds ::Function,
and attempts to break at e.g. Foo::Bar::Function fails. Regex match finds all
of the Functions though.

Currently at revision 220591.


feynman% bin/lldb
/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out
(lldb) target create
"/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out"
Current executable set to
'/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out' (x86_64).
(lldb) breakpoint set -F Foo::Bar::Function
Breakpoint 2: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set -r Function
Breakpoint 3: 5 locations.
(lldb) breakpoint list
Current breakpoints:
1: name = 'Function', locations = 1
  1.1: where = a.out`Function() + 16 at nested.cpp:58, address =
a.out[0x0000000000400800], unresolved, hit count = 0 

2: name = 'Foo::Bar::Function', locations = 0 (pending)

3: regex = 'Function', locations = 5
  3.1: where = a.out`Function() + 16 at nested.cpp:58, address =
a.out[0x0000000000400800], unresolved, hit count = 0 
  3.2: where = a.out`Foo::Bar::Function() + 24 at nested.cpp:36, address =
a.out[0x00000000004007c8], unresolved, hit count = 0 
  3.3: where = a.out`Baz::Function() + 32 at nested.cpp:48, address =
a.out[0x0000000000400a10], unresolved, hit count = 0 
  3.4: where = a.out`Foo::Bar::Baz2::Function() + 32 at nested.cpp:26, address
= a.out[0x00000000004009c0], unresolved, hit count = 0 
  3.5: where = a.out`Foo::Bar::Baz::Function() + 32 at nested.cpp:13, address =
a.out[0x0000000000400970], unresolved, hit count = 0

-- 
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/20141024/374b95d3/attachment.html>


More information about the lldb-dev mailing list