[Lldb-commits] [PATCH] D111981: [lldb] Fix missing dependency on libc++ from LLDB test suite on non-Darwin platforms

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 18 14:17:45 PDT 2021


dblaikie added a comment.

Yeah, applying that patch gets the expected `cannot open shared object file` issue for `libc++.so.1`:

  ======================================================================
  FAIL: test_with_run_command_dwo (TestDataFormatterLibcxxSet.LibcxxSetDataFormatterTestCase)
     Test that that file and class static variables display correctly.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/local/google/home/blaikie/dev/llvm/src/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1823, in test_method
      return attrvalue(self)
    File "/usr/local/google/home/blaikie/dev/llvm/src/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py", line 49, in test_with_run_command
      (self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
    File "/usr/local/google/home/blaikie/dev/llvm/src/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 1007, in run_to_source_breakpoint
      return run_to_breakpoint_do_run(test, target, breakpoint, launch_info,
    File "/usr/local/google/home/blaikie/dev/llvm/src/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 924, in run_to_breakpoint_do_run
      test.fail("Test process is not stopped at breakpoint, but instead in" +
  AssertionError: Test process is not stopped at breakpoint, but instead in state 'exited'. Exit code/status: 127. Exit description: None.
  stderr of inferior:
  /usr/local/google/home/blaikie/dev/llvm/build/release/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.test_with_run_command_dwo/a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
  
  Config=x86_64-/usr/local/google/home/blaikie/dev/llvm/build/release/bin/clang
  ----------------------------------------------------------------------


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111981/new/

https://reviews.llvm.org/D111981



More information about the lldb-commits mailing list