[Support] move FileCollector from LLDB to llvm/Support
authorAlex Lorenz <arphaman@gmail.com>
Wed, 24 Jul 2019 22:59:20 +0000 (22:59 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 24 Jul 2019 22:59:20 +0000 (22:59 +0000)
commit86814bf658a64ac11e548f0a133c9a7d9ca3f831
treeb93d66fdcd88b8c4691d19a4f54dcd7ee1788cc9
parent017e272c3add50cd214b6c8d9549397ae157a4c3
[Support] move FileCollector from LLDB to llvm/Support

The file collector class is useful for creating reproducers,
not just for LLDB, but for other tools as well in LLVM/Clang.

Differential Revision: https://reviews.llvm.org/D65237

llvm-svn: 366956
lldb/include/lldb/Utility/FileCollector.h
lldb/source/Utility/CMakeLists.txt
lldb/unittests/Utility/CMakeLists.txt
llvm/include/llvm/Support/FileCollector.h [new file with mode: 0644]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/FileCollector.cpp [moved from lldb/source/Utility/FileCollector.cpp with 91% similarity]
llvm/unittests/Support/CMakeLists.txt
llvm/unittests/Support/FileCollectorTest.cpp [moved from lldb/unittests/Utility/FileCollectorTest.cpp with 89% similarity]