[clang] [llvm] [LLVM][Clang][Cygwin] Fix building Clang for Cygwin (PR #134494)

Mateusz MikuĊ‚a via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 12:43:07 PDT 2025


================
@@ -847,7 +847,11 @@ void llvm::sys::PrintStackTrace(raw_ostream &OS, int Depth) {
 
     const char *name = strrchr(dlinfo.dli_fname, '/');
     if (!name)
+#ifdef __CYGWIN__
+      OS << format(" %-*s", width, &dlinfo.dli_fname);
----------------
mati865 wrote:

Right, I doubted my C knowledge too much at this point.

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


More information about the cfe-commits mailing list