|
From: | Marc Nieper-Wißkirchen |
Subject: | Re: Provide a module for `clear_cache' |
Date: | Mon, 6 Nov 2023 19:51:37 +0100 |
I can provide such a thing easily. In fact, I have it already sitting
around on my disk since 2021 :-)
> GNU
> lightning currently calls libgcc's `__clear_cache' directly ([1]), but this
> will fail on systems that do not have libgcc.
And also, libgcc's __clear_cache does not always work. My comments say:
/* GCC >= 4.3 has a GCC built-in.
<https://gcc.gnu.org/onlinedocs/gcc-4.3.6/gcc/Other-Builtins.html>
But it's sometimes not correctly implemented.
So, I can provide the module's code. Can you provide a unit test for it?
[Prev in Thread] | Current Thread | [Next in Thread] |