Regression

lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/function.TestLibCxxFunction.py (from lldb-api)

Failing for the past 1 build (Since #1866 )
Took 25 sec.

Stacktrace

Script:
--
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -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/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --arch x86_64 --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 --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin --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/data-formatter/data-formatter-stl/libcxx/function -p TestLibCxxFunction.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 13.0.99 (http://labmaster3.local/git/llvm-project.git revision cdd1adfb7d5d5048a7fdedc441e75db019fbb0b5)
  clang revision cdd1adfb7d5d5048a7fdedc441e75db019fbb0b5
  llvm revision cdd1adfb7d5d5048a7fdedc441e75db019fbb0b5
Skipping the following test categories: ['darwin-log', 'libstdcxx', 'dwo', 'llgs', 'fork']

--
Command Output (stderr):
--
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function
runCmd: settings clear -all
output: 

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

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error 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/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dsym/a.out' (x86_64).


runCmd: breakpoint set -p "Set break point at this line."
output: Breakpoint 1: 3 locations.


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

runCmd: run
output: Process 25153 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
    frame #0: 0x00000001000016fc a.out`foo2() at main.cpp:28:11
   25  	
   26  	   std::function<int (int)> foo2_f = f;
   27  	
-> 28  	   return foo2_f(10); // Set break point at this line.
    	          ^
   29  	}
   30  	
   31  	int main (int argc, char *argv[])
Process 25153 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 25153 stopped
* thread #1: tid = 0x5e0e39, 0x00000001000016fc a.out`foo2() at main.cpp:28:11, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2


Ran command:
"thread list"

Got output:
Process 25153 stopped
* thread #1: tid = 0x5e0e39, 0x00000001000016fc a.out`foo2() at main.cpp:28:11, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable foo2_f
output: (std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22


Ran command:
"frame variable foo2_f"

Got output:
(std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22

Expecting sub string: "foo2_f =  Lambda in File main.cpp at Line 22" (was found)

runCmd: log timers dump
output: 0.057685084 sec (total: 0.078s; child: 0.020s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.011860630 sec (total: 0.012s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.008120647 sec (total: 0.020s; child: 0.012s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000345555 sec (total: 0.012s; child: 0.012s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000101218 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000010617 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.057685084 sec (total: 0.078s; child: 0.020s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.011860630 sec (total: 0.012s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.008120647 sec (total: 0.020s; child: 0.012s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000345555 sec (total: 0.012s; child: 0.012s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000101218 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000010617 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable foo2_f
output: (std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22


Ran command:
"frame variable foo2_f"

Got output:
(std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22

Expecting sub string: "foo2_f =  Lambda in File main.cpp at Line 22" (was found)

runCmd: log timers dump
output: 0.000359074 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000129080 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000025834 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000004241 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.000359074 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000129080 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000025834 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000004241 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable add_num2_f
output: (std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13


Ran command:
"frame variable add_num2_f"

Got output:
(std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13

Expecting sub string: "add_num2_f =  Lambda in File main.cpp at Line 13" (was found)

runCmd: log timers dump
output: 0.002762546 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000833846 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000545955 sec (total: 0.004s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000058353 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000036005 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000008980 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.002762546 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000833846 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000545955 sec (total: 0.004s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000058353 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000036005 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000008980 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable add_num2_f
output: (std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13


Ran command:
"frame variable add_num2_f"

Got output:
(std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13

Expecting sub string: "add_num2_f =  Lambda in File main.cpp at Line 13" (was found)

runCmd: log timers dump
output: 0.000256068 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000083494 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000028639 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000022620 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.000256068 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000083494 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000028639 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000022620 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable f2
output: (std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35


Ran command:
"frame variable f2"

Got output:
(std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35

Expecting sub string: "f2 =  Lambda in File main.cpp at Line 35" (was found)

runCmd: log timers dump
output: 0.002739264 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000808639 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000741485 sec (total: 0.004s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000124878 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000026581 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000004071 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.002739264 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000808639 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000741485 sec (total: 0.004s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000124878 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000026581 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000004071 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable f2
output: (std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35


Ran command:
"frame variable f2"

Got output:
(std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35

Expecting sub string: "f2 =  Lambda in File main.cpp at Line 35" (was found)

runCmd: log timers dump
output: 0.000344342 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000088744 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000006348 sec (total: 0.000s; child: 0.000s; count: 1) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.000344342 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000088744 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000006348 sec (total: 0.000s; child: 0.000s; count: 1) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable f3
output: (std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39


Ran command:
"frame variable f3"

Got output:
(std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39

Expecting sub string: "f3 =  Lambda in File main.cpp at Line 39" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable f3
output: (std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39


Ran command:
"frame variable f3"

Got output:
(std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39

Expecting sub string: "f3 =  Lambda in File main.cpp at Line 39" (was found)

runCmd: log timers dump
output: 0.000309579 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000103975 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000030776 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000008049 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.000309579 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000103975 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000030776 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000008049 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: frame variable f1
output: (std::function<int (int, int)>) f1 =  Function = foo(int, int) 


Ran command:
"frame variable f1"

Got output:
(std::function<int (int, int)>) f1 =  Function = foo(int, int) 

Expecting sub string: "f1 =  Function = foo(int, int)" (was found)

runCmd: frame variable f5
output: (std::function<int (const Bar &, int)>) f5 =  Function = Bar::add_num(int) const 


Ran command:
"frame variable f5"

Got output:
(std::function<int (const Bar &, int)>) f5 =  Function = Bar::add_num(int) const 

Expecting sub string: "f5 =  Function = Bar::add_num(int) const" (was found)

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_dsym (TestLibCxxFunction.LibCxxFunctionTestCase)
runCmd: settings clear -all
output: 

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

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error 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/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dwarf/a.out' (x86_64).


runCmd: breakpoint set -p "Set break point at this line."
output: Breakpoint 1: 3 locations.


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

runCmd: run
output: Process 25274 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
    frame #0: 0x00000001000016fc a.out`foo2() at main.cpp:28:11
   25  	
   26  	   std::function<int (int)> foo2_f = f;
   27  	
-> 28  	   return foo2_f(10); // Set break point at this line.
    	          ^
   29  	}
   30  	
   31  	int main (int argc, char *argv[])
Process 25274 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_dwarf/a.out' (x86_64)


runCmd: thread list
output: Process 25274 stopped
* thread #1: tid = 0x5e105a, 0x00000001000016fc a.out`foo2() at main.cpp:28:11, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2


Ran command:
"thread list"

Got output:
Process 25274 stopped
* thread #1: tid = 0x5e105a, 0x00000001000016fc a.out`foo2() at main.cpp:28:11, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable foo2_f
output: (std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22


Ran command:
"frame variable foo2_f"

Got output:
(std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22

Expecting sub string: "foo2_f =  Lambda in File main.cpp at Line 22" (was found)

runCmd: log timers dump
output: 0.018508986 sec (total: 0.022s; child: 0.004s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.005642072 sec (total: 0.029s; child: 0.023s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.003906542 sec (total: 0.004s; child: 0.000s; count: 879) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.002637979 sec (total: 0.031s; child: 0.029s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000388000 sec (total: 0.023s; child: 0.022s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000121669 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.018508986 sec (total: 0.022s; child: 0.004s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.005642072 sec (total: 0.029s; child: 0.023s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.003906542 sec (total: 0.004s; child: 0.000s; count: 879) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.002637979 sec (total: 0.031s; child: 0.029s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000388000 sec (total: 0.023s; child: 0.022s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000121669 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable foo2_f
output: (std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22


Ran command:
"frame variable foo2_f"

Got output:
(std::function<int (int)>) foo2_f =  Lambda in File main.cpp at Line 22

Expecting sub string: "foo2_f =  Lambda in File main.cpp at Line 22" (was found)

runCmd: log timers dump
output: 0.000339182 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000145794 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000028240 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000021360 sec (total: 0.000s; child: 0.000s; count: 4) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.000339182 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000145794 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000028240 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000021360 sec (total: 0.000s; child: 0.000s; count: 4) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable add_num2_f
output: (std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13


Ran command:
"frame variable add_num2_f"

Got output:
(std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13

Expecting sub string: "add_num2_f =  Lambda in File main.cpp at Line 13" (was found)

runCmd: log timers dump
output: 0.002908653 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000892134 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000644073 sec (total: 0.005s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000076926 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000046424 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000042043 sec (total: 0.000s; child: 0.000s; count: 8) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.002908653 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000892134 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000644073 sec (total: 0.005s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000076926 sec (total: 0.000s; child: 0.000s; count: 4) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000046424 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000042043 sec (total: 0.000s; child: 0.000s; count: 8) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable add_num2_f
output: (std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13


Ran command:
"frame variable add_num2_f"

Got output:
(std::function<int (int)>) add_num2_f =  Lambda in File main.cpp at Line 13

Expecting sub string: "add_num2_f =  Lambda in File main.cpp at Line 13" (was found)

runCmd: log timers dump
output: 0.000331768 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000109487 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000049832 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000021084 sec (total: 0.000s; child: 0.000s; count: 4) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)


Ran command:
"log timers dump"

Got output:
0.000331768 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000109487 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000049832 sec (total: 0.000s; child: 0.000s; count: 2) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)
0.000021084 sec (total: 0.000s; child: 0.000s; count: 4) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable f2
output: (std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35


Ran command:
"frame variable f2"

Got output:
(std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35

Expecting sub string: "f2 =  Lambda in File main.cpp at Line 35" (was found)

runCmd: log timers dump
output: 0.002919997 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000869791 sec (total: 0.005s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000854772 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000141086 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000048448 sec (total: 0.000s; child: 0.000s; count: 5) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000025333 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.002919997 sec (total: 0.003s; child: 0.000s; count: 1) for virtual size_t SymbolFileDWARF::ParseFunctions(lldb_private::CompileUnit &)
0.000869791 sec (total: 0.005s; child: 0.004s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000854772 sec (total: 0.004s; child: 0.003s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000141086 sec (total: 0.003s; child: 0.003s; count: 1) for lldb::FunctionSP lldb_private::CompileUnit::FindFunction(llvm::function_ref<bool (const FunctionSP &)>)
0.000048448 sec (total: 0.000s; child: 0.000s; count: 5) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000025333 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Expecting sub string: "lldb_private::CompileUnit::FindFunction" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable f2
output: (std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35


Ran command:
"frame variable f2"

Got output:
(std::function<int (int)>) f2 =  Lambda in File main.cpp at Line 35

Expecting sub string: "f2 =  Lambda in File main.cpp at Line 35" (was found)

runCmd: log timers dump
output: 0.000376634 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000115539 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000008077 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000003425 sec (total: 0.000s; child: 0.000s; count: 1) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.000376634 sec (total: 0.001s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000115539 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000008077 sec (total: 0.000s; child: 0.000s; count: 1) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000003425 sec (total: 0.000s; child: 0.000s; count: 1) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: log timers reset
output: 

runCmd: frame variable f3
output: (std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39


Ran command:
"frame variable f3"

Got output:
(std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39

Expecting sub string: "f3 =  Lambda in File main.cpp at Line 39" (was found)

runCmd: log timers reset
output: 

runCmd: frame variable f3
output: (std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39


Ran command:
"frame variable f3"

Got output:
(std::function<int (int, int)>) f3 =  Lambda in File main.cpp at Line 39

Expecting sub string: "f3 =  Lambda in File main.cpp at Line 39" (was found)

runCmd: log timers dump
output: 0.000306150 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000112366 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000033738 sec (total: 0.000s; child: 0.000s; count: 7) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000031757 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)


Ran command:
"log timers dump"

Got output:
0.000306150 sec (total: 0.000s; child: 0.000s; count: 2) for bool lldb_private::CommandInterpreter::HandleCommand(const char *, lldb_private::LazyBool, lldb_private::CommandReturnObject &)
0.000112366 sec (total: 0.000s; child: 0.000s; count: 1) for CPPLanguageRuntime::LibCppStdFunctionCallableInfo lldb_private::CPPLanguageRuntime::FindLibCppStdFunctionCallableInfo(lldb::ValueObjectSP &)
0.000033738 sec (total: 0.000s; child: 0.000s; count: 7) for bool lldb_private::Module::ResolveFileAddress(lldb::addr_t, lldb_private::Address &)
0.000031757 sec (total: 0.000s; child: 0.000s; count: 3) for virtual uint32_t SymbolFileDWARF::ResolveSymbolContext(const lldb_private::Address &, lldb::SymbolContextItem, lldb_private::SymbolContext &)

Not expecting sub string: "lldb_private::CompileUnit::FindFunction" (was not found)

runCmd: frame variable f1
output: (std::function<int (int, int)>) f1 =  Function = foo(int, int) 


Ran command:
"frame variable f1"

Got output:
(std::function<int (int, int)>) f1 =  Function = foo(int, int) 

Expecting sub string: "f1 =  Function = foo(int, int)" (was found)

runCmd: frame variable f5
output: (std::function<int (const Bar &, int)>) f5 =  Function = Bar::add_num(int) const 


Ran command:
"frame variable f5"

Got output:
(std::function<int (const Bar &, int)>) f5 =  Function = Bar::add_num(int) const 

Expecting sub string: "f5 =  Function = Bar::add_num(int) const" (was found)

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_dwarf (TestLibCxxFunction.LibCxxFunctionTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_dwo (TestLibCxxFunction.LibCxxFunctionTestCase) (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.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error 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/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_gmodules (TestLibCxxFunction.LibCxxFunctionTestCase)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
ERROR: test_gmodules (TestLibCxxFunction.LibCxxFunctionTestCase)
   Test that std::function as defined by libc++ is correctly printed by LLDB
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function -C /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.test_gmodules -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/Makefile MAKE_DSYM=NO MAKE_GMODULES=YES  ARCH=x86_64 CC="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang" DSYMUTIL="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil"  CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api 

Build Command Output:
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang  -fmodules -gmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api -gmodules -fcxx-modules -std=c++11 -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -fmodules -gmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api -gmodules -fcxx-modules   -std=c++11 -DLLDB_USING_LIBCPP -stdlib=libc++ --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp
In module 'std' imported from /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:1:
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/__memory/allocator_traits.h:73:48: error: missing '#include "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/__memory/pointer_traits.h"'; 'pointer_traits<_Tp *>' must be defined before it is used
    using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<void>;
                                               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/__memory/allocator_traits.h:234:35: note: in instantiation of template class 'std::__void_pointer<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44) *, std::allocator<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44)>, false>' requested here
    using void_pointer = typename __void_pointer<pointer, allocator_type>::type;
                                  ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/__memory/allocator_traits.h:354:48: note: in instantiation of template class 'std::allocator_traits<std::allocator<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44)>>' requested here
    using type _LIBCPP_NODEBUG_TYPE = typename _Traits::template rebind_alloc<_Tp>;
                                               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/functional:1790:26: note: in instantiation of template class 'std::__rebind_alloc_helper<std::allocator_traits<std::allocator<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44)>>, std::__function::__func<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44), std::allocator<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44)>, int (int)>>' requested here
        typedef typename __rebind_alloc_helper<__alloc_traits, _Fun>::type
                         ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/functional:1816:11: note: in instantiation of function template specialization 'std::__function::__value_func<int (int)>::__value_func<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44), std::allocator<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44)>>' requested here
        : __value_func(_VSTD::forward<_Fp>(__f), allocator<_Fp>()) {}
          ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/functional:2512:50: note: in instantiation of function template specialization 'std::__function::__value_func<int (int)>::__value_func<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44), void>' requested here
function<_Rp(_ArgTypes...)>::function(_Fp __f) : __f_(_VSTD::move(__f)) {}
                                                 ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44: note: in instantiation of function template specialization 'std::function<int (int)>::function<(lambda at /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp:13:44), void>' requested here
     std::function<int (int)> add_num2_f = [](int x) {
                                           ^
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/../include/c++/v1/__memory/pointer_traits.h:135:29: note: definition here is not reachable
struct _LIBCPP_TEMPLATE_VIS pointer_traits<_Tp*>
                            ^
1 error generated.
make: *** [main.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function
----------------------------------------------------------------------
Ran 4 tests in 23.903s

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

--