Virtualize swiftconstvalues output

Virtualize swiftconstvalues output so it can be cached inside CAS.
This commit is contained in:
Steven Wu
2023-05-23 15:10:50 -07:00
parent 9f51c06db6
commit 8fb0d5f803
4 changed files with 22 additions and 13 deletions

View File

@@ -804,7 +804,7 @@ void writeAttrInformation(llvm::json::OStream &JSON,
}
bool writeAsJSONToFile(const std::vector<ConstValueTypeInfo> &ConstValueInfos,
llvm::raw_fd_ostream &OS) {
llvm::raw_ostream &OS) {
llvm::json::OStream JSON(OS, 2);
JSON.array([&] {
for (const auto &TypeInfo : ConstValueInfos) {