[DWP] Refactoring llvm-dwp in to a library part 2
authorAlexander Yermolovich <ayermolo@fb.com>
Thu, 22 Jul 2021 21:11:49 +0000 (14:11 -0700)
committerAlexander Yermolovich <ayermolo@fb.com>
Thu, 22 Jul 2021 21:23:29 +0000 (14:23 -0700)
commitf8c6515554cc4a8f878179e2e081946c8c519fe3
tree52b6ef246db858c7e02cd0a7a6372fdf19035259
parent7de73da8dad3ee6c5bca676b679bcdab84050ea2
[DWP] Refactoring llvm-dwp in to a library part 2

This is follow up to https://reviews.llvm.org/D106198 where llvm-dwp was refactored in to multiple files.
In this patch moving them in to lib/include directories.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D106493
llvm/include/llvm/DWP/DWP.h [moved from llvm/tools/llvm-dwp/DWP.h with 97% similarity]
llvm/include/llvm/DWP/DWPError.h [moved from llvm/tools/llvm-dwp/DWPError.h with 83% similarity]
llvm/include/llvm/DWP/DWPStringPool.h [moved from llvm/tools/llvm-dwp/DWPStringPool.h with 93% similarity]
llvm/lib/CMakeLists.txt
llvm/lib/DWP/CMakeLists.txt [new file with mode: 0644]
llvm/lib/DWP/DWP.cpp [moved from llvm/tools/llvm-dwp/DWP.cpp with 99% similarity]
llvm/lib/DWP/DWPError.cpp [moved from llvm/tools/llvm-dwp/DWPError.cpp with 56% similarity]
llvm/tools/llvm-dwp/CMakeLists.txt
llvm/tools/llvm-dwp/llvm-dwp.cpp