You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(lldb) b malloc
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) run
Process 64844 launched: '../tools/lldb/test/python_api/thread/a.out' (x86_64)
1 location added to breakpoint 1
Process 64844 stopped
thread #1: tid = 100740, 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
Process 64844 stopped
thread #1: tid = 100740, 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807400
a(1) returns 4
Process 64844 stopped
thread #1: tid = 100740, 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7malloc [inlined] malloc_init at malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807800
b(2) returns 5
a(3) returns 6
Process 64844 exited with status = 0 (0x00000000)
NB: this test has an @expectedFailureLinux # llvm.org/pr14416 tag
That PR is for watchpoints failing on i386 Linux, so perhaps a typo.
The text was updated successfully, but these errors were encountered:
Extended Description
Reproducing manually:
(lldb) b malloc
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) run
Process 64844 launched: '../tools/lldb/test/python_api/thread/a.out' (x86_64)
1 location added to breakpoint 1
Process 64844 stopped
malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7
malloc [inlined] malloc_init at malloc.c:53975394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
Process 64844 stopped
malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7
malloc [inlined] malloc_init at malloc.c:53975394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807400
a(1) returns 4
Process 64844 stopped
malloc [inlined] malloc_init at malloc.c:5397, stop reason = breakpoint 1.1 frame #​0: 0x0000000800dda809 libc.so.7
malloc [inlined] malloc_init at malloc.c:53975394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807800
b(2) returns 5
a(3) returns 6
Process 64844 exited with status = 0 (0x00000000)
NB: this test has an @expectedFailureLinux # llvm.org/pr14416 tag
That PR is for watchpoints failing on i386 Linux, so perhaps a typo.
The text was updated successfully, but these errors were encountered: