Regression

lldb-api.functionalities/tail_call_frames/inlining_and_tail_calls.TestInliningAndTailCalls.py (from lldb-api)

Failing for the past 1 build (Since Failed#1501 )
Took 20 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/functionalities/tail_call_frames/inlining_and_tail_calls -p TestInliningAndTailCalls.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 11.0.99
  clang revision bff0c56ff92106afad22b54a90e1c612da4d6f99
  llvm revision bff0c56ff92106afad22b54a90e1c612da4d6f99
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']
a.out was compiled with optimization - stepping may behave oddly; variables may not be available.
a.out was compiled with optimization - stepping may behave oddly; variables may not be available.
a.out was compiled with optimization - stepping may behave oddly; variables may not be available.

--
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/functionalities/tail_call_frames/inlining_and_tail_calls -p TestInliningAndTailCalls.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls
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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x0000000104e5af84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x0000000104e5af84 a.out`func2() at main.cpp:28
    frame #2: 0x0000000104e5afa9 a.out`main at main.cpp:35:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=1) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x0000000104e5af84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x0000000104e5af84 a.out`func2() at main.cpp:28
    frame #2: 0x0000000104e5afa9 a.out`main at main.cpp:35:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:

/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp:24:23: error: INLINE-SINK-NEXT: expected string not found in input
 // INLINE-SINK-NEXT: func1{{.*}} [artificial]
                      ^
<stdin>:4:2: note: scanning from here
 frame #2: 0x0000000104e5afa9 a.out`main at main.cpp:35:3
 ^
<stdin>:4:21: note: possible intended match here
 frame #2: 0x0000000104e5afa9 a.out`main at main.cpp:35:3
                    ^



FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dsym (lldbsuite.test.lldbtest.InliningAndTailCalls_GNU)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x113cdd780> >>: success

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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010eaf1f84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x000000010eaf1f84 a.out`func2() at main.cpp:28
    frame #2: 0x000000010eaf1f99 a.out`func1() at main.cpp:30:42 [artificial]
    frame #3: 0x000000010eaf1fa9 a.out`main at main.cpp:35:3
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010eaf1f84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x000000010eaf1f84 a.out`func2() at main.cpp:28
    frame #2: 0x000000010eaf1f99 a.out`func1() at main.cpp:30:42 [artificial]
    frame #3: 0x000000010eaf1fa9 a.out`main at main.cpp:35:3
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010eaf1f44 a.out`tail_call_sink() at main.cpp:4:4
    frame #1: 0x000000010eaf1f69 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [artificial]
    frame #2: 0x000000010eaf1fae a.out`main at main.cpp:38:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=TAIL-CALL-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010eaf1f44 a.out`tail_call_sink() at main.cpp:4:4
    frame #1: 0x000000010eaf1f69 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [artificial]
    frame #2: 0x000000010eaf1fae a.out`main at main.cpp:38:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.InliningAndTailCalls_GNU)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwo (lldbsuite.test.lldbtest.InliningAndTailCalls_GNU) (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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010bd4ef84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x000000010bd4ef84 a.out`func2() at main.cpp:28
    frame #2: 0x000000010bd4ef99 a.out`func1() at main.cpp:30:42 [artificial]
    frame #3: 0x000000010bd4efa9 a.out`main at main.cpp:35:3
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010bd4ef84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4
    frame #1: 0x000000010bd4ef84 a.out`func2() at main.cpp:28
    frame #2: 0x000000010bd4ef99 a.out`func1() at main.cpp:30:42 [artificial]
    frame #3: 0x000000010bd4efa9 a.out`main at main.cpp:35:3
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010bd4ef44 a.out`tail_call_sink() at main.cpp:4:4
    frame #1: 0x000000010bd4ef69 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [artificial]
    frame #2: 0x000000010bd4efae a.out`main at main.cpp:38:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=TAIL-CALL-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010bd4ef44 a.out`tail_call_sink() at main.cpp:4:4
    frame #1: 0x000000010bd4ef69 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [artificial]
    frame #2: 0x000000010bd4efae a.out`main at main.cpp:38:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.InliningAndTailCalls_GNU)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls
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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010b73df84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010b73df84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010b73df95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010b73dfa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010b73df84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010b73df84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010b73df95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010b73dfa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010b73df44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010b73df65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010b73dfae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=TAIL-CALL-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010b73df44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010b73df65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010b73dfae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dsym (lldbsuite.test.lldbtest.InliningAndTailCalls_V5)
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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010c6d6f84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010c6d6f84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010c6d6f95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010c6d6fa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010c6d6f84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010c6d6f84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010c6d6f95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010c6d6fa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010c6d6f44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010c6d6f65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010c6d6fae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=TAIL-CALL-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010c6d6f44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010c6d6f65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010c6d6fae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.InliningAndTailCalls_V5)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwo (lldbsuite.test.lldbtest.InliningAndTailCalls_V5) (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: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010fbacf84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010fbacf84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010fbacf95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010fbacfa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=INLINE-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.2
  * frame #0: 0x000000010fbacf84 a.out`func2() [inlined] inline_sink() at main.cpp:21:4 [opt]
    frame #1: 0x000000010fbacf84 a.out`func2() at main.cpp:28 [opt]
    frame #2: 0x000000010fbacf95 a.out`func1() at main.cpp:30:42 [opt] [artificial]
    frame #3: 0x000000010fbacfa9 a.out`main at main.cpp:35:3 [opt]
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010fbacf44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010fbacf65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010fbacfae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1



--- FileCheck trace (code=0) ---
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp -check-prefix=TAIL-CALL-SINK

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x000000010fbacf44 a.out`tail_call_sink() at main.cpp:4:4 [opt]
    frame #1: 0x000000010fbacf65 a.out`func3() [inlined] inlinable_function_which_tail_calls() at main.cpp:13:3 [opt] [artificial]
    frame #2: 0x000000010fbacfae a.out`main at main.cpp:38:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.InliningAndTailCalls_V5)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test_dsym (lldbsuite.test.lldbtest.InliningAndTailCalls_GNU)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1768, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 124, in _test
    self.do_test()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 156, in do_test
    parser.handle_breakpoint(self, bp_id)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 80, in handle_breakpoint
    test.execute_user_command(breakpoint['command'])
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbinline.py", line 127, in execute_user_command
    exec(__command, globals(), locals())
  File "<string>", line 1, in <module>
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2313, in filecheck
    self.assertTrue(cmd_status == 0)
AssertionError: False is not True
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11
----------------------------------------------------------------------
Ran 8 tests in 19.282s

RESULT: FAILED (5 passes, 1 failures, 0 errors, 2 skipped, 0 expected failures, 0 unexpected successes)

--