[clang] Add debug options to clang-linker-wrapper (PR #101008)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 16:11:08 PDT 2024


================
@@ -781,6 +791,8 @@ bool isValidCIdentifier(StringRef S) {
 Error linkBitcodeFiles(SmallVectorImpl<OffloadFile> &InputFiles,
                        SmallVectorImpl<StringRef> &OutputFiles,
                        const ArgList &Args) {
+  if (Verbose)
+    llvm::errs() << "Linking bitcode files\n";
----------------
jhuber6 wrote:

Verbose mode just wants to print information from the tools generally. I think if we want tracing we already have the time-trace scope.

https://github.com/llvm/llvm-project/pull/101008


More information about the cfe-commits mailing list