Failed

lldb-api.lang/objc/foundation.TestObjCMethods.py (from lldb-api)

Failing for the past 3 builds (Since Failed#1491 )
Took 1 min 51 sec.

Stacktrace

Script:
--
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-system-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/lang/objc/foundation -p TestObjCMethods.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 11.0.99
  clang revision 07e8a780d81bb58a0c7bd4da6cc0b9beaec3c788
  llvm revision 07e8a780d81bb58a0c7bd4da6cc0b9beaec3c788

--
Command Output (stderr):
--

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs'
Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/lang/objc/foundation -p TestObjCMethods.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/lang/objc/foundation
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out' (x86_64).


runCmd: _regexp-break +[NSString stringWithFormat:]
output: Breakpoint 1: where = Foundation`+[NSString stringWithFormat:], address = 0x0000000000004708


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -n "-[MyString initWithNSString:]"
output: Breakpoint 2: where = a.out`-[MyString initWithNSString:] + 20 at main.m:23:16, address = 0x00000001000014b4


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -S "description" --shlib "a.out"
output: Breakpoint 3: where = a.out`-[MyString description] + 16 at main.m:43:7, address = 0x00000001000015e0


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: _regexp-break -[NSAutoreleasePool release]
output: Breakpoint 4: where = Foundation`-[NSAutoreleasePool release], address = 0x0000000000003cee


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14

Process 52760 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x000000010000179b a.out`Test_NSString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out") at main.m:69:21
    frame #2: 0x0000000100001b45 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:132:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 52760 resuming
Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x00000001000018c9 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out") at main.m:94:21
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 52760 resuming
Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out'") at main.m:23:16
   20  	
   21  	- (id)initWithNSString:(NSString *)string
   22  	{
-> 23  	    if (self = [super init])
    	               ^
   24  	    {
   25  	        str = [NSString stringWithString:string];
   26  	        date = [NSDate date];



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out'") at main.m:23:16
    frame #1: 0x00000001000018f0 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out") at main.m:95:20
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString initWithNSString:]
Matched

runCmd: process continue
output: Process 52760 resuming
Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001908 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out") at main.m:96:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 52760 resuming
Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001949 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dsym/a.out") at main.m:98:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 52760 resuming
Process 52760 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
    frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
Foundation`-[NSAutoreleasePool release]:
->  0x7fff4e5f0cee <+0>: pushq  %rbp
    0x7fff4e5f0cef <+1>: movq   %rsp, %rbp
    0x7fff4e5f0cf2 <+4>: pushq  %r15
    0x7fff4e5f0cf4 <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
  * frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
    frame #1: 0x0000000100001ba3 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:139:5
    frame #2: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`-[NSAutoreleasePool release]
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1278c0cf0> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_break_dsym (TestObjCMethods.FoundationTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out' (x86_64).


runCmd: _regexp-break +[NSString stringWithFormat:]
output: Breakpoint 1: where = Foundation`+[NSString stringWithFormat:], address = 0x0000000000004708


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -n "-[MyString initWithNSString:]"
output: Breakpoint 2: where = a.out`-[MyString initWithNSString:] + 20 at main.m:23:16, address = 0x00000001000014b4


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -S "description" --shlib "a.out"
output: Breakpoint 3: where = a.out`-[MyString description] + 16 at main.m:43:7, address = 0x00000001000015e0


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: _regexp-break -[NSAutoreleasePool release]
output: Breakpoint 4: where = Foundation`-[NSAutoreleasePool release], address = 0x0000000000003cee


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14

Process 53689 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x000000010000179b a.out`Test_NSString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out") at main.m:69:21
    frame #2: 0x0000000100001b45 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:132:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 53689 resuming
Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x00000001000018c9 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out") at main.m:94:21
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 53689 resuming
Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out'") at main.m:23:16
   20  	
   21  	- (id)initWithNSString:(NSString *)string
   22  	{
-> 23  	    if (self = [super init])
    	               ^
   24  	    {
   25  	        str = [NSString stringWithString:string];
   26  	        date = [NSDate date];



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out'") at main.m:23:16
    frame #1: 0x00000001000018f0 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out") at main.m:95:20
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString initWithNSString:]
Matched

runCmd: process continue
output: Process 53689 resuming
Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001908 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out") at main.m:96:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 53689 resuming
Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001949 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_dwarf/a.out") at main.m:98:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 53689 resuming
Process 53689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
    frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
Foundation`-[NSAutoreleasePool release]:
->  0x7fff4e5f0cee <+0>: pushq  %rbp
    0x7fff4e5f0cef <+1>: movq   %rsp, %rbp
    0x7fff4e5f0cf2 <+4>: pushq  %r15
    0x7fff4e5f0cf4 <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
  * frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
    frame #1: 0x0000000100001ba3 a.out`main(argc=1, argv=0x00007ffeefbff4a0) at main.m:139:5
    frame #2: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`-[NSAutoreleasePool release]
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x110ee61e0> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_break_dwarf (TestObjCMethods.FoundationTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_break_dwo (TestObjCMethods.FoundationTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out' (x86_64).


runCmd: _regexp-break +[NSString stringWithFormat:]
output: Breakpoint 1: where = Foundation`+[NSString stringWithFormat:], address = 0x0000000000004708


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -n "-[MyString initWithNSString:]"
output: Breakpoint 2: where = a.out`-[MyString initWithNSString:] + 20 at main.m:23:16, address = 0x00000001000014b4


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint set -S "description" --shlib "a.out"
output: Breakpoint 3: where = a.out`-[MyString description] + 16 at main.m:43:7, address = 0x00000001000015e0


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: _regexp-break -[NSAutoreleasePool release]
output: Breakpoint 4: where = Foundation`-[NSAutoreleasePool release], address = 0x0000000000003cee


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>.*)( \+ (?P<offset>[0-9]+)){0,1}, address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14

Process 54168 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x000000010000179b a.out`Test_NSString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out") at main.m:69:21
    frame #2: 0x0000000100001b45 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:132:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 54168 resuming
Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
Foundation`+[NSString stringWithFormat:]:
->  0x7fff4e5f1708 <+0>: pushq  %rbp
    0x7fff4e5f1709 <+1>: movq   %rsp, %rbp
    0x7fff4e5f170c <+4>: pushq  %r15
    0x7fff4e5f170e <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00007fff4e5f1708 Foundation`+[NSString stringWithFormat:]
    frame #1: 0x00000001000018c9 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out") at main.m:94:21
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`+[NSString stringWithFormat:]
Matched

runCmd: process continue
output: Process 54168 resuming
Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out'") at main.m:23:16
   20  	
   21  	- (id)initWithNSString:(NSString *)string
   22  	{
-> 23  	    if (self = [super init])
    	               ^
   24  	    {
   25  	        str = [NSString stringWithString:string];
   26  	        date = [NSDate date];



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x00000001000014b4 a.out`-[MyString initWithNSString:](self=0x0000604000001cd0, _cmd="initWithNSString:", string=@"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out'") at main.m:23:16
    frame #1: 0x00000001000018f0 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out") at main.m:95:20
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString initWithNSString:]
Matched

runCmd: process continue
output: Process 54168 resuming
Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001908 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out") at main.m:96:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 54168 resuming
Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001949 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_break_gmodules/a.out") at main.m:98:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: process continue
output: Process 54168 resuming
Process 54168 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
    frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
Foundation`-[NSAutoreleasePool release]:
->  0x7fff4e5f0cee <+0>: pushq  %rbp
    0x7fff4e5f0cef <+1>: movq   %rsp, %rbp
    0x7fff4e5f0cf2 <+4>: pushq  %r15
    0x7fff4e5f0cf4 <+6>: pushq  %r14



runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
  * frame #0: 0x00007fff4e5f0cee Foundation`-[NSAutoreleasePool release]
    frame #1: 0x0000000100001ba3 a.out`main(argc=1, argv=0x00007ffeefbff498) at main.m:139:5
    frame #2: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: Foundation`-[NSAutoreleasePool release]
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x110ed2c60> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_break_gmodules (TestObjCMethods.FoundationTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out' (x86_64).


runCmd: breakpoint set -n "-[MyString description]"
output: Breakpoint 1: where = a.out`-[MyString description] + 16 at main.m:43:7, address = 0x00000001000015e0


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 54920 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);

Process 54920 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001908 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out") at main.m:96:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff488) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1
    frame #4: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: image lookup -t NSString
output: Best match found in /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out:
id = {0x7fffffff0000004d}, name = "NSString", byte-size = 8, decl = NSString.h:99, compiler_type = "@interface NSString : NSObject
@property(readonly, getter = length, setter = <null selector>) NSUInteger length;
@end"



Expecting sub string: name = "NSString"
Matched

Expecting sub string: compiler_type = "@interface NSString
Matched

runCmd: image lookup -t MyString
output: Best match found in /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out:
id = {0x7fffffff000000a9}, name = "MyString", byte-size = 32, decl = main.m:5, compiler_type = "@interface MyString : MyBase{
    NSString * str;
    NSDate * date;
    BOOL _desc_pauses;
}
@property(retain, readwrite, getter = str_property, setter = setStr_property:) NSString *str_property;
@property(assign, readwrite, getter = descriptionPauses, setter = setDescriptionPauses:) BOOL descriptionPauses;
@end"



Expecting sub string: name = "MyString"
Matched

Expecting sub string: compiler_type = "@interface MyString
Matched

Expecting sub string: NSString * str;
Matched

Expecting sub string: NSDate * date;
Matched

runCmd: frame variable --show-types --scope
output: ARG: (MyString *) self = 0x0000604000001cd0
ARG: (SEL) _cmd = "description"


Expecting sub string: ARG: (MyString *) self
Matched

Expecting pattern: ARG: \(.*\) _cmd
Matched

Expecting pattern: (objc_selector *)|(SEL)
Matched

runCmd: frame variable *_cmd
output: (SEL) *_cmd = ""


runCmd: frame variable --show-types self->str
output: (NSString *) self->str = 0x0000611000002980 @"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out'"


Expecting start string: (NSString *) self->str
Matched

runCmd: frame variable --show-types self->date
output: (NSDate *) self->date = 0x00006020000024d0 2020-05-31 01:01:09 UTC


Expecting start string: (NSDate *) self->date
Matched

runCmd: frame variable --show-types *self
output: (MyString) *self = {
  (MyBase) MyBase = {
    (NSObject) NSObject = {
      (Class) isa = MyString
    }
    (int) propertyMovesThings = 0
  }
  (NSString *) str = 0x0000611000002980 @"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out'"
  (NSDate *) date = 0x00006020000024d0 2020-05-31 01:01:09 UTC
  (BOOL) _desc_pauses = NO
}


Expecting sub string: (MyString) *self
Matched

Expecting sub string: (NSString *) str
Matched

Expecting sub string: (NSDate *) date
Matched

runCmd: expression self->isa
output: (Class) $0 = MyString


Expecting sub string: Class)
Matched

runCmd: expression self->non_existent_member
check of return status not required
runCmd failed!
error: <user expression 1>:1:7: 'MyString' does not have a member named 'non_existent_member'
self->non_existent_member
~~~~  ^


Expecting sub string: error:
Matched

Expecting sub string: 'MyString' does not have a member named 'non_existent_member'
Matched

runCmd: expression self->str
output: (NSString *) $1 = 0x0000611000002980 @"Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out'"


runCmd: expression self->date
output: (NSDate *) $2 = 0x00006020000024d0 2020-05-31 01:01:09 UTC


runCmd: breakpoint delete 1
output: 1 breakpoints deleted; 0 breakpoint locations disabled.


runCmd: breakpoint set -f "main.m" -l 97
output: Breakpoint 2: where = a.out`Test_MyString + 156 at main.m:97:5, address = 0x000000010000191c


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: process continue
output: Process 54920 resuming
Process 54920 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x000000010000191c a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out") at main.m:97:5
   94  	    NSString *str = [NSString stringWithFormat:@"Hello from '%s'", program];
   95  	    MyString *my = [[MyString alloc] initWithNSString:str];
   96  	    NSLog(@"MyString instance: %@", [my description]);
-> 97  	    my.descriptionPauses = YES;     // Set break point at this line.  Test 'expression -o -- my'.
    	    ^
   98  	    NSLog(@"MyString instance: %@", [my description]);
   99  	}
   100 	



runCmd: expression --object-description -- my
output: Hello from '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dsym/a.out' with timestamp: 2020-05-31 01:01:09 +0000



Expecting pattern: Hello from.*a.out.*with timestamp: 
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x110ee61b0> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_data_type_and_expr_dsym (TestObjCMethods.FoundationTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dwarf/a.out' (x86_64).


runCmd: breakpoint set -n "-[MyString description]"
output: Breakpoint 1: where = a.out`-[MyString description] + 16 at main.m:43:7, address = 0x00000001000015e0


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 55423 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
   40  	{
   41  	    // Set a breakpoint on '-[MyString description]' and test expressions:
   42  	    // expression (char *)sel_getName(_cmd)
-> 43  	  if (self.descriptionPauses)  // Break here for description test
    	      ^
   44  	    {
   45  	        printf ("\nAbout to sleep.\n");
   46  	        usleep(100000);

Process 55423 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dwarf/a.out' (x86_64)


runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00000001000015e0 a.out`-[MyString description](self=0x0000604000001cd0, _cmd="description") at main.m:43:7
    frame #1: 0x0000000100001908 a.out`Test_MyString(program="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dwarf/a.out") at main.m:96:37
    frame #2: 0x0000000100001b54 a.out`main(argc=1, argv=0x00007ffeefbff480) at main.m:133:5
    frame #3: 0x00007fff793be085 libdyld.dylib`start + 1


Expecting sub string: a.out`-[MyString description]
Matched

runCmd: image lookup -t NSString
output: Best match found in /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/lang/objc/foundation/TestObjCMethods.test_data_type_and_expr_dwarf/a.out:
id = {0x10000004d}, name = "NSString", byte-size = 8, decl = NSString.h:99, compiler_type = "@interface NSString : NSObject
@property(readonly, getter = length, setter = <null selector>) NSUInteger length;
@end"


Assertion failed: (tokenKind == tok::kw___bridge_retain), function ParseParenExpression, file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/clang/lib/Parse/ParseExpr.cpp, line 2804.

--