Mateusz =?utf-8?q?Mikuła?= <o...@mateuszmikula.dev>, Mateusz =?utf-8?q?Mikuła?= <o...@mateuszmikula.dev>, Mateusz =?utf-8?q?Mikuła?= <o...@mateuszmikula.dev> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/134...@github.com>
================ @@ -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); ---------------- jeremyd2019 wrote: Damn, they don't check the return value from dladdr or apparently initialize the struct. Really shouldn't try to use the struct if dladdr fails. https://github.com/llvm/llvm-project/pull/134494 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits