Skip to content

Instantly share code, notes, and snippets.

@CodaFi
Last active June 30, 2020 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodaFi/56034199577f057c52ef3e0cdd8b7631 to your computer and use it in GitHub Desktop.
Save CodaFi/56034199577f057c52ef3e0cdd8b7631 to your computer and use it in GitHub Desktop.
#####
./utils/build-script -r --foundation --swiftpm --llbuild --libdispatch --install-swift --install-swiftpm --install-llbuild --install-foundation --install-libdispatch --xctest --install-xctest --install-swift --install-swiftpm --install-llbuild --install-foundation --install-libdispatch --xctest --install-xctest --test --skip-test-swift --skip-test-foundation --indexstore-db '--llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld'
#####
./utils/build-script -r --foundation --swiftpm --llbuild --libdispatch --install-swift --install-swiftpm --install-llbuild --install-foundation --install-libdispatch --xctest --install-xctest --install-swift --install-swiftpm --install-llbuild --install-foundation --install-libdispatch --xctest --install-xctest --test --skip-test-swift --skip-test-foundation --indexstore-db '--llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld' --skip-test-libdispatch --skip-test-foundation --skip-build-foundation --skip-test-llbuild --skip-build-llbuild --skip-test-xctest --skip-build-xctest
#####
cmake: b7d8c91822101ff9de07075e9b1f02e18c2725da
cmark: 9c8096a23f44794bde297452d87c455fc4f76d42
icu: fd123bf023882f07bfacf51c39111be2f946d8f8
indexstore-db: a5c1d4400d4dbabdae664bd703a2fc20c7ad9560
llbuild: 0816cf594c2e4d890d1f188271da667f99763fa9
llvm-project: 1fda14a45e23c41ac661c20a248a7fa4b102230d
ninja: ed7f67040b370189d989adbd60ff8ea29957231f
pythonkit: b8976a9c36ca4240ae627a2ae2cbe33d35e26198
sourcekit-lsp: 5cc541312d6221f58dbf38e2c3376eb98721ce61
swift: a676a371f53941be5c499cf78ff8cbb7391af38c
swift-argument-parser: 223d62adc52d51669ae2ee19bdb8b7d9fd6fcd9c
swift-corelibs-foundation: cfac32b92d5fb62a651967cf22756352179b58ba
swift-corelibs-libdispatch: 1986f39ddf85ebb1d01ea093becd8c236eddb8fb
swift-corelibs-xctest: ec352a0fa88723034f214157206d9b10bf5166cf
swift-driver: 09b0bbf9504e8bd3d802ddc71201e43d54f976ef
swift-format: 65948bc68953939f7230295ec468b592f75d0267
swift-integration-tests: 11f0f6e8b34ba9782b5841dbeaa207d0b4620152
swiftpm: a3e6d241abd1008aed7107363dd7a968246484ae
swift-stress-tester: ec006afb7b0b1cf7673c1a135f1db45f98d4d7fd
swift-syntax: 98e2144e62dbcd77e44deed06f173c22a3d7a805
swift-tools-support-core: 5b0e9a81ff695d45f1b19f2385baef3af9e1ca7a
swift-xcode-playground-support: 88043d7d320f92598efb39408c3f4b1903a4fff6
tensorflow-swift-apis: 0f09ac9bfdb012604be51b0cfb66910468a4078f
yams: 81a65c4069c28011ee432f2858ba0de49b086677
###
{
llvm::errs() << "While Reading Module: " << ModuleName << "\n";
llvm::errs() << "\nGimme The News: \n";
for (const auto &key : getModuleCache().PCMs) {
auto *PCM = getModuleCache().lookupPCM(key.getKey());
if (!PCM) {
llvm::errs() << "Found NULL PCM for key: " << key.getKey() << "\n";
} else {
llvm::errs() << "Found VALID PCM for key: " << key.getKey() << "\n";
}
}
llvm::errs() << "\nAnd Now The Weather: \n";
TheASTReader->dump();
if (auto *FM = getPreprocessorOpts().FailedModules.get()) {
llvm::errs() << "\nAnd Sports: \n";
for (const auto &key : FM->Failed) {
llvm::errs() << "FAILED loading this module: " << key.getKey() << "\n";
}
}
llvm_unreachable("WELL, HERE'S YOUR PROBLEM!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment