aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoreine <6628437+eine@users.noreply.github.com>2020-11-21 09:56:18 +0100
committerGitHub <noreply@github.com>2020-11-21 09:56:18 +0100
commit7ed5f245b145bdbc98da183236100c2e3a0163a9 (patch)
tree8043ad07401a90e60c2918a5a0e734d22c1ecf61 /src
parente757839e4e9d277122e4f82889d562928c723b97 (diff)
downloadghdl-7ed5f245b145bdbc98da183236100c2e3a0163a9.tar.gz
ghdl-7ed5f245b145bdbc98da183236100c2e3a0163a9.tar.bz2
ghdl-7ed5f245b145bdbc98da183236100c2e3a0163a9.zip
win32: add fprintf to grt_save_backtrace (#1516)
Co-authored-by: eine <eine@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/grt/config/win32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grt/config/win32.c b/src/grt/config/win32.c
index 677943c4a..a90a2891d 100644
--- a/src/grt/config/win32.c
+++ b/src/grt/config/win32.c
@@ -198,6 +198,14 @@ __ghdl_run_through_longjump (int (*func)(void))
void
grt_save_backtrace (struct backtrace_addrs *bt, int skip)
{
+ /* FIXME
+ testsuite/gna/issue635 fails on GitHub Actions when executed with
+ LLVM backend on MINGW64 (MSYS2). GHDL returns '3', instead of '0'.
+ This dummy printf fixes it, surprisingly.
+ See https://github.com/ghdl/ghdl/pull/1516
+ */
+ printf("");
+
CONTEXT ctxt;
RtlCaptureContext (&ctxt);