Regression

lldb-api.functionalities/param_entry_vals/basic_entry_values.TestBasicEntryValues.py (from lldb-api)

Failing for the past 1 build (Since Failed#1501 )
Took 50 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/param_entry_vals/basic_entry_values -p TestBasicEntryValues.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/param_entry_vals/basic_entry_values -p TestBasicEntryValues.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values
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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dsym/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x7fffffff00000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000102336cc0-0x0000000102336cdd)
     FuncType: id = {0x7fffffff00000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x7fffffff00000060}, range = [0x102336cc0-0x102336cdd)
    LineEntry: [0x0000000102336cdb-0x0000000102336cdd): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000102336cc0-0x0000000102336ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x7fffffff00000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-GNU

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dsym/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x7fffffff00000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000102336cc0-0x0000000102336cdd)
     FuncType: id = {0x7fffffff00000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x7fffffff00000060}, range = [0x102336cc0-0x102336cdd)
    LineEntry: [0x0000000102336cdb-0x0000000102336cdd): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000102336cc0-0x0000000102336ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x7fffffff00000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dsym (lldbsuite.test.lldbtest.BasicEntryValues_GNU)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x107d618a0> >>: 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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dwarf/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000106cc2cc0-0x0000000106cc2cdd)
     FuncType: id = {0x100000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000060}, range = [0x106cc2cc0-0x106cc2cdd)
    LineEntry: [0x0000000106cc2cdb-0x0000000106cc2ce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000106cc2cc0-0x0000000106cc2ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-GNU

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dwarf/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000106cc2cc0-0x0000000106cc2cdd)
     FuncType: id = {0x100000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000060}, range = [0x106cc2cc0-0x106cc2cdd)
    LineEntry: [0x0000000106cc2cdb-0x0000000106cc2ce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000106cc2cc0-0x0000000106cc2ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
output: (int) $1 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR1

FileCheck input:
(int) $1 = 123


FileCheck output:




runCmd: expr sink
output: (int) $2 = 2



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR2

FileCheck input:
(int) $2 = 2


FileCheck output:




runCmd: expr x
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR-FAIL

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: expr sink
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x0000000106cc2da4 a.out`func7(sink=0x00007ffee8f3d424, x=123) at main.cpp:75:3
    frame #1: 0x0000000106cc2de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3
    frame #2: 0x0000000106cc2de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90
    frame #3: 0x0000000106cc2de4 a.out`func10(sink=0x00007ffee8f3d424, x=123) at main.cpp:94
    frame #4: 0x0000000106cc2f00 a.out`main at main.cpp:190:3
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x0000000106cc2da4 a.out`func7(sink=0x00007ffee8f3d424, x=123) at main.cpp:75:3
    frame #1: 0x0000000106cc2de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3
    frame #2: 0x0000000106cc2de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90
    frame #3: 0x0000000106cc2de4 a.out`func10(sink=0x00007ffee8f3d424, x=123) at main.cpp:94
    frame #4: 0x0000000106cc2f00 a.out`main at main.cpp:190:3
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $3 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR1

FileCheck input:
(int) $3 = 123


FileCheck output:




runCmd: expr sink
output: (int) $4 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR2

FileCheck input:
(int) $4 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x0000000106cc2df4 a.out`func11_tailcalled(sink=0x00007ffee8f3d424, x=123) at main.cpp:101:3
    frame #1: 0x0000000106cc2e19 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [artificial]
    frame #2: 0x0000000106cc2f0d a.out`main at main.cpp:193: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x0000000106cc2df4 a.out`func11_tailcalled(sink=0x00007ffee8f3d424, x=123) at main.cpp:101:3
    frame #1: 0x0000000106cc2e19 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [artificial]
    frame #2: 0x0000000106cc2f0d a.out`main at main.cpp:193:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $5 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR1

FileCheck input:
(int) $5 = 123


FileCheck output:




runCmd: expr sink
output: (int) $6 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR2

FileCheck input:
(int) $6 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000106cc2e24 a.out`func13(sink=0x00007ffee8f3d424, x=123) at main.cpp:119:3
    frame #1: 0x0000000106cc2e55 a.out`func14(sink=0x00007ffee8f3d424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3
    frame #2: 0x0000000106cc2f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000106cc2e24 a.out`func13(sink=0x00007ffee8f3d424, x=123) at main.cpp:119:3
    frame #1: 0x0000000106cc2e55 a.out`func14(sink=0x00007ffee8f3d424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3
    frame #2: 0x0000000106cc2f1c a.out`main at main.cpp:196:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $7 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $7 = 123


FileCheck output:




runCmd: expr sink
output: (int) $8 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $8 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000106cc2e24 a.out`func13(sink=0x00007ffee8f3d424, x=123) at main.cpp:119:3
    frame #1: 0x0000000106cc2e60 a.out`func14(sink=0x00007ffee8f3d424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3
    frame #2: 0x0000000106cc2f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000106cc2e24 a.out`func13(sink=0x00007ffee8f3d424, x=123) at main.cpp:119:3
    frame #1: 0x0000000106cc2e60 a.out`func14(sink=0x00007ffee8f3d424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3
    frame #2: 0x0000000106cc2f1c a.out`main at main.cpp:196:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $9 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $9 = 123


FileCheck output:




runCmd: expr sink
output: (int) $10 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $10 = 5


FileCheck output:




runCmd: expr S
output: (StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC15-EXPR

FileCheck input:
(StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.BasicEntryValues_GNU)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwo (lldbsuite.test.lldbtest.BasicEntryValues_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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_gmodules/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000103cebcc0-0x0000000103cebcdd)
     FuncType: id = {0x100000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000060}, range = [0x103cebcc0-0x103cebcdd)
    LineEntry: [0x0000000103cebcdb-0x0000000103cebce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000103cebcc0-0x0000000103cebce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-GNU

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_gmodules/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000060}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x0000000103cebcc0-0x0000000103cebcdd)
     FuncType: id = {0x100000060}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000060}, range = [0x103cebcc0-0x103cebcdd)
    LineEntry: [0x0000000103cebcdb-0x0000000103cebce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x0000000103cebcc0-0x0000000103cebce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000079}, name = "sink", type = "int &", location = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
output: (int) $1 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR1

FileCheck input:
(int) $1 = 123


FileCheck output:




runCmd: expr sink
output: (int) $2 = 2



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR2

FileCheck input:
(int) $2 = 2


FileCheck output:




runCmd: expr x
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR-FAIL

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: expr sink
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x0000000103cebda4 a.out`func7(sink=0x00007ffeebf14424, x=123) at main.cpp:75:3
    frame #1: 0x0000000103cebde9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3
    frame #2: 0x0000000103cebde4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90
    frame #3: 0x0000000103cebde4 a.out`func10(sink=0x00007ffeebf14424, x=123) at main.cpp:94
    frame #4: 0x0000000103cebf00 a.out`main at main.cpp:190:3
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x0000000103cebda4 a.out`func7(sink=0x00007ffeebf14424, x=123) at main.cpp:75:3
    frame #1: 0x0000000103cebde9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3
    frame #2: 0x0000000103cebde4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90
    frame #3: 0x0000000103cebde4 a.out`func10(sink=0x00007ffeebf14424, x=123) at main.cpp:94
    frame #4: 0x0000000103cebf00 a.out`main at main.cpp:190:3
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $3 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR1

FileCheck input:
(int) $3 = 123


FileCheck output:




runCmd: expr sink
output: (int) $4 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR2

FileCheck input:
(int) $4 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x0000000103cebdf4 a.out`func11_tailcalled(sink=0x00007ffeebf14424, x=123) at main.cpp:101:3
    frame #1: 0x0000000103cebe19 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [artificial]
    frame #2: 0x0000000103cebf0d a.out`main at main.cpp:193: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x0000000103cebdf4 a.out`func11_tailcalled(sink=0x00007ffeebf14424, x=123) at main.cpp:101:3
    frame #1: 0x0000000103cebe19 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [artificial]
    frame #2: 0x0000000103cebf0d a.out`main at main.cpp:193:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $5 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR1

FileCheck input:
(int) $5 = 123


FileCheck output:




runCmd: expr sink
output: (int) $6 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR2

FileCheck input:
(int) $6 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000103cebe24 a.out`func13(sink=0x00007ffeebf14424, x=123) at main.cpp:119:3
    frame #1: 0x0000000103cebe55 a.out`func14(sink=0x00007ffeebf14424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3
    frame #2: 0x0000000103cebf1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000103cebe24 a.out`func13(sink=0x00007ffeebf14424, x=123) at main.cpp:119:3
    frame #1: 0x0000000103cebe55 a.out`func14(sink=0x00007ffeebf14424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3
    frame #2: 0x0000000103cebf1c a.out`main at main.cpp:196:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $7 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $7 = 123


FileCheck output:




runCmd: expr sink
output: (int) $8 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $8 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000103cebe24 a.out`func13(sink=0x00007ffeebf14424, x=123) at main.cpp:119:3
    frame #1: 0x0000000103cebe60 a.out`func14(sink=0x00007ffeebf14424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3
    frame #2: 0x0000000103cebf1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x0000000103cebe24 a.out`func13(sink=0x00007ffeebf14424, x=123) at main.cpp:119:3
    frame #1: 0x0000000103cebe60 a.out`func14(sink=0x00007ffeebf14424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3
    frame #2: 0x0000000103cebf1c a.out`main at main.cpp:196:3
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $9 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $9 = 123


FileCheck output:




runCmd: expr sink
output: (int) $10 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $10 = 5


FileCheck output:




runCmd: expr S
output: (StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC15-EXPR

FileCheck input:
(StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.BasicEntryValues_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/param_entry_vals/basic_entry_values
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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dsym/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x7fffffff00000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x000000010fcb5cc0-0x000000010fcb5cdd)
     FuncType: id = {0x7fffffff00000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x7fffffff00000068}, range = [0x10fcb5cc0-0x10fcb5cdd)
    LineEntry: [0x000000010fcb5cdb-0x000000010fcb5cdd): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x000000010fcb5cc0-0x000000010fcb5ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x7fffffff00000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-V5

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dsym/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x7fffffff00000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x000000010fcb5cc0-0x000000010fcb5cdd)
     FuncType: id = {0x7fffffff00000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x7fffffff00000068}, range = [0x10fcb5cc0-0x10fcb5cdd)
    LineEntry: [0x000000010fcb5cdb-0x000000010fcb5cdd): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x000000010fcb5cc0-0x000000010fcb5ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x7fffffff00000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
output: (int) $1 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR1

FileCheck input:
(int) $1 = 123


FileCheck output:




runCmd: expr sink
output: (int) $2 = 2



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR2

FileCheck input:
(int) $2 = 2


FileCheck output:




runCmd: expr x
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR-FAIL

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: expr sink
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x000000010fcb5da4 a.out`func7(sink=0x00007ffedff4a434, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x000000010fcb5de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x000000010fcb5de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x000000010fcb5de4 a.out`func10(sink=0x00007ffedff4a434, x=123) at main.cpp:94 [opt]
    frame #4: 0x000000010fcb5f00 a.out`main at main.cpp:190:3 [opt]
    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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x000000010fcb5da4 a.out`func7(sink=0x00007ffedff4a434, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x000000010fcb5de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x000000010fcb5de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x000000010fcb5de4 a.out`func10(sink=0x00007ffedff4a434, x=123) at main.cpp:94 [opt]
    frame #4: 0x000000010fcb5f00 a.out`main at main.cpp:190:3 [opt]
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $3 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR1

FileCheck input:
(int) $3 = 123


FileCheck output:




runCmd: expr sink
output: (int) $4 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR2

FileCheck input:
(int) $4 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010fcb5df4 a.out`func11_tailcalled(sink=0x00007ffedff4a434, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x000000010fcb5e15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x000000010fcb5f0d a.out`main at main.cpp:193: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010fcb5df4 a.out`func11_tailcalled(sink=0x00007ffedff4a434, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x000000010fcb5e15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x000000010fcb5f0d a.out`main at main.cpp:193:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $5 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR1

FileCheck input:
(int) $5 = 123


FileCheck output:




runCmd: expr sink
output: (int) $6 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR2

FileCheck input:
(int) $6 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fcb5e24 a.out`func13(sink=0x00007ffedff4a434, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fcb5e55 a.out`func14(sink=0x00007ffedff4a434, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x000000010fcb5f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fcb5e24 a.out`func13(sink=0x00007ffedff4a434, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fcb5e55 a.out`func14(sink=0x00007ffedff4a434, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x000000010fcb5f1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $7 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $7 = 123


FileCheck output:




runCmd: expr sink
output: (int) $8 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $8 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fcb5e24 a.out`func13(sink=0x00007ffedff4a434, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fcb5e60 a.out`func14(sink=0x00007ffedff4a434, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x000000010fcb5f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fcb5e24 a.out`func13(sink=0x00007ffedff4a434, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fcb5e60 a.out`func14(sink=0x00007ffedff4a434, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x000000010fcb5f1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $9 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $9 = 123


FileCheck output:




runCmd: expr sink
output: (int) $10 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $10 = 5


FileCheck output:




runCmd: expr S
output: (StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC15-EXPR

FileCheck input:
(StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dsym (lldbsuite.test.lldbtest.BasicEntryValues_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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dwarf/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x00000001050abcc0-0x00000001050abcdd)
     FuncType: id = {0x100000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000068}, range = [0x1050abcc0-0x1050abcdd)
    LineEntry: [0x00000001050abcdb-0x00000001050abce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x00000001050abcc0-0x00000001050abce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-V5

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_dwarf/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x00000001050abcc0-0x00000001050abcdd)
     FuncType: id = {0x100000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000068}, range = [0x1050abcc0-0x1050abcdd)
    LineEntry: [0x00000001050abcdb-0x00000001050abce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x00000001050abcc0-0x00000001050abce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
output: (int) $1 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR1

FileCheck input:
(int) $1 = 123


FileCheck output:




runCmd: expr sink
output: (int) $2 = 2



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR2

FileCheck input:
(int) $2 = 2


FileCheck output:




runCmd: expr x
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR-FAIL

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: expr sink
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x00000001050abda4 a.out`func7(sink=0x00007ffeeab54424, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x00000001050abde9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x00000001050abde4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x00000001050abde4 a.out`func10(sink=0x00007ffeeab54424, x=123) at main.cpp:94 [opt]
    frame #4: 0x00000001050abf00 a.out`main at main.cpp:190:3 [opt]
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x00000001050abda4 a.out`func7(sink=0x00007ffeeab54424, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x00000001050abde9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x00000001050abde4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x00000001050abde4 a.out`func10(sink=0x00007ffeeab54424, x=123) at main.cpp:94 [opt]
    frame #4: 0x00000001050abf00 a.out`main at main.cpp:190:3 [opt]
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $3 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR1

FileCheck input:
(int) $3 = 123


FileCheck output:




runCmd: expr sink
output: (int) $4 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR2

FileCheck input:
(int) $4 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x00000001050abdf4 a.out`func11_tailcalled(sink=0x00007ffeeab54424, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x00000001050abe15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x00000001050abf0d a.out`main at main.cpp:193: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x00000001050abdf4 a.out`func11_tailcalled(sink=0x00007ffeeab54424, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x00000001050abe15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x00000001050abf0d a.out`main at main.cpp:193:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $5 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR1

FileCheck input:
(int) $5 = 123


FileCheck output:




runCmd: expr sink
output: (int) $6 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR2

FileCheck input:
(int) $6 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x00000001050abe24 a.out`func13(sink=0x00007ffeeab54424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x00000001050abe55 a.out`func14(sink=0x00007ffeeab54424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x00000001050abf1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x00000001050abe24 a.out`func13(sink=0x00007ffeeab54424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x00000001050abe55 a.out`func14(sink=0x00007ffeeab54424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x00000001050abf1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $7 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $7 = 123


FileCheck output:




runCmd: expr sink
output: (int) $8 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $8 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x00000001050abe24 a.out`func13(sink=0x00007ffeeab54424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x00000001050abe60 a.out`func14(sink=0x00007ffeeab54424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x00000001050abf1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x00000001050abe24 a.out`func13(sink=0x00007ffeeab54424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x00000001050abe60 a.out`func14(sink=0x00007ffeeab54424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x00000001050abf1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $9 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $9 = 123


FileCheck output:




runCmd: expr sink
output: (int) $10 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $10 = 5


FileCheck output:




runCmd: expr S
output: (StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC15-EXPR

FileCheck input:
(StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.BasicEntryValues_V5)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_dwo (lldbsuite.test.lldbtest.BasicEntryValues_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: image lookup -v -a $pc
output:       Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_gmodules/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x000000010fc32cc0-0x000000010fc32cdd)
     FuncType: id = {0x100000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000068}, range = [0x10fc32cc0-0x10fc32cdd)
    LineEntry: [0x000000010fc32cdb-0x000000010fc32ce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x000000010fc32cc0-0x000000010fc32ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13




--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC1-V5

FileCheck input:
      Address: a.out[0x0000000100000cdb] (a.out.__TEXT.__text + 27)
      Summary: a.out`func1(int&) + 27 at main.cpp:25:1
       Module: file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values/lldbsuite.test.lldbtest.test_gmodules/a.out", arch = "x86_64"
  CompileUnit: id = {0x00000000}, file = "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp", language = "c++11"
     Function: id = {0x100000068}, name = "func1(int&)", mangled = "_Z5func1Ri", range = [0x000000010fc32cc0-0x000000010fc32cdd)
     FuncType: id = {0x100000068}, byte-size = 0, decl = main.cpp:13, compiler_type = "void (int &)"
       Blocks: id = {0x100000068}, range = [0x10fc32cc0-0x10fc32cdd)
    LineEntry: [0x000000010fc32cdb-0x000000010fc32ce0): /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp:25:1
       Symbol: id = {0x00000004}, range = [0x000000010fc32cc0-0x000000010fc32ce0), name="func1(int&)", mangled="_Z5func1Ri"
     Variable: id = {0x100000081}, name = "sink", type = "int &", location = DW_OP_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = main.cpp:13



FileCheck output:




runCmd: expr x
output: (int) $1 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR1

FileCheck input:
(int) $1 = 123


FileCheck output:




runCmd: expr sink
output: (int) $2 = 2



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC2-EXPR2

FileCheck input:
(int) $2 = 2


FileCheck output:




runCmd: expr x
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR-FAIL

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: expr sink
check of return status not required
runCmd failed!
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC4-EXPR

FileCheck input:
error: Couldn't materialize: couldn't get the value of variable sink: Could not evaluate DW_OP_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x000000010fc32da4 a.out`func7(sink=0x00007ffedffcd424, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x000000010fc32de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x000000010fc32de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x000000010fc32de4 a.out`func10(sink=0x00007ffedffcd424, x=123) at main.cpp:94 [opt]
    frame #4: 0x000000010fc32f00 a.out`main at main.cpp:190:3 [opt]
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 5.1
  * frame #0: 0x000000010fc32da4 a.out`func7(sink=0x00007ffedffcd424, x=123) at main.cpp:75:3 [opt]
    frame #1: 0x000000010fc32de9 a.out`func10(int&, int) [inlined] func8_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:86:3 [opt]
    frame #2: 0x000000010fc32de4 a.out`func10(int&, int) [inlined] func9_inlined(sink=<unavailable>, x=<unavailable>) at main.cpp:90 [opt]
    frame #3: 0x000000010fc32de4 a.out`func10(sink=0x00007ffedffcd424, x=123) at main.cpp:94 [opt]
    frame #4: 0x000000010fc32f00 a.out`main at main.cpp:190:3 [opt]
    frame #5: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #6: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $3 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR1

FileCheck input:
(int) $3 = 123


FileCheck output:




runCmd: expr sink
output: (int) $4 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC7-EXPR2

FileCheck input:
(int) $4 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010fc32df4 a.out`func11_tailcalled(sink=0x00007ffedffcd424, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x000000010fc32e15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x000000010fc32f0d a.out`main at main.cpp:193: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010fc32df4 a.out`func11_tailcalled(sink=0x00007ffedffcd424, x=123) at main.cpp:101:3 [opt]
    frame #1: 0x000000010fc32e15 a.out`func12(sink=<unavailable>, x=<unavailable>) at main.cpp:112:3 [opt] [artificial]
    frame #2: 0x000000010fc32f0d a.out`main at main.cpp:193:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $5 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR1

FileCheck input:
(int) $5 = 123


FileCheck output:




runCmd: expr sink
output: (int) $6 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC11-EXPR2

FileCheck input:
(int) $6 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fc32e24 a.out`func13(sink=0x00007ffedffcd424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fc32e55 a.out`func14(sink=0x00007ffedffcd424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x000000010fc32f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fc32e24 a.out`func13(sink=0x00007ffedffcd424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fc32e55 a.out`func14(sink=0x00007ffedffcd424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:138:3 [opt]
    frame #2: 0x000000010fc32f1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $7 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $7 = 123


FileCheck output:




runCmd: expr sink
output: (int) $8 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $8 = 5


FileCheck output:




runCmd: bt
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fc32e24 a.out`func13(sink=0x00007ffedffcd424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fc32e60 a.out`func14(sink=0x00007ffedffcd424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x000000010fc32f1c a.out`main at main.cpp:196: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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-BT

FileCheck input:
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 9.1
  * frame #0: 0x000000010fc32e24 a.out`func13(sink=0x00007ffedffcd424, x=123) at main.cpp:119:3 [opt]
    frame #1: 0x000000010fc32e60 a.out`func14(sink=0x00007ffedffcd424, target_no_tailcall=(a.out`func13(int&, int) at main.cpp:115))(int&, int)) at main.cpp:139:3 [opt]
    frame #2: 0x000000010fc32f1c a.out`main at main.cpp:196:3 [opt]
    frame #3: 0x00007fff5962a085 libdyld.dylib`start + 1
    frame #4: 0x00007fff5962a085 libdyld.dylib`start + 1


FileCheck output:




runCmd: expr x
output: (int) $9 = 123



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR1

FileCheck input:
(int) $9 = 123


FileCheck output:




runCmd: expr sink
output: (int) $10 = 5



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC13-EXPR2

FileCheck input:
(int) $10 = 5


FileCheck output:




runCmd: expr S
output: (StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)



--- 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/param_entry_vals/basic_entry_values/main.cpp -check-prefix=FUNC15-EXPR

FileCheck input:
(StructPassedViaPointerToTemporaryCopy) $11 = (a = 1, b = 2, c = 3)


FileCheck output:




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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.BasicEntryValues_V5)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test_dsym (lldbsuite.test.lldbtest.BasicEntryValues_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/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 2270, in filecheck
    msg="FileCheck'ing result of `{0}`".format(command))
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2093, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : FileCheck'ing result of `expr x`
Error output:
error: Couldn't materialize: couldn't get the value of variable x: Could not evaluate DW_OP_GNU_entry_value.
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11
----------------------------------------------------------------------
Ran 8 tests in 48.521s

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

--