[all-commits] [llvm/llvm-project] 1f80e5: [lldb/Reproducers] Collect files imported by comma...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Mar 24 09:08:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f80e51546bf2bf77982fd013519631f4c86898b
      https://github.com/llvm/llvm-project/commit/1f80e51546bf2bf77982fd013519631f4c86898b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M lldb/include/lldb/Host/FileSystem.h
    M lldb/source/Host/common/FileSystem.cpp
    M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    A lldb/test/Shell/Reproducer/Inputs/foo.lua
    A lldb/test/Shell/Reproducer/Inputs/foo.py
    A lldb/test/Shell/Reproducer/TestLuaImport.test
    A lldb/test/Shell/Reproducer/TestPythonImport.test

  Log Message:
  -----------
  [lldb/Reproducers] Collect files imported by command script import

Files imported by the script interpreter aren't opened by LLDB so they
don't end up in the reproducer. The solution is to explicitly add them
to the FileCollector.

Differential revision: https://reviews.llvm.org/D76626




More information about the All-commits mailing list